X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=grpc-proxy%2Fgrpc-async-cb.h;h=342a6dfbd457e09552f1f135817d9d092f056085;hb=73e82a6f346d2835f6d6b0752629b2d2446e871d;hp=cb8adcbde7805d8c9afe622c8ef341969ce2e285;hpb=53b470c60986fcfc83dc3a5eafcd9370a7264086;p=src%2Fagl-compositor.git 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; };