summaryrefslogtreecommitdiffstats
path: root/grpc-proxy/grpc-async-cb.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-proxy/grpc-async-cb.h')
-rw-r--r--grpc-proxy/grpc-async-cb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/grpc-proxy/grpc-async-cb.h b/grpc-proxy/grpc-async-cb.h
index cb8adcb..342a6df 100644
--- a/grpc-proxy/grpc-async-cb.h
+++ b/grpc-proxy/grpc-async-cb.h
@@ -63,6 +63,7 @@ private:
class GrpcServiceImpl final : public agl_shell_ipc::AglShellManagerService::CallbackService {
public:
GrpcServiceImpl(Shell *aglShell) : m_aglShell(aglShell) {}
+ void setAglShell(Shell *_aglShell) { m_aglShell = _aglShell; }
grpc::ServerUnaryReactor *ActivateApp(grpc::CallbackServerContext *context,
const ::agl_shell_ipc::ActivateRequest* request,
@@ -109,5 +110,5 @@ public:
const ::agl_shell_ipc::AppStateRequest* /*request*/) override;
private:
- Shell *m_aglShell;
+ Shell *m_aglShell = nullptr;
};