Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mckay <adenosine3p@gmail.com>2019-11-26 16:06:32 +0300
committerJohn Mckay <adenosine3p@gmail.com>2019-11-28 23:08:03 +0300
commit1d2e5b090af1a02e7bbdf8bf3bbf679635834645 (patch)
treebb9710ee6ac2cff30a36dd36b204f7689e91205c /src/murmur/MurmurGRPCImpl.h
parent7dd9d50efd6b8d755193ccd0612606777cd9ec45 (diff)
shudown and drain GRPC completion queue on exit
This prevents a segmentation fault in next() when it tries to call back to a deleted object.
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r--src/murmur/MurmurGRPCImpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h
index 3592a62f2..d63e33a20 100644
--- a/src/murmur/MurmurGRPCImpl.h
+++ b/src/murmur/MurmurGRPCImpl.h
@@ -40,6 +40,7 @@ namespace MurmurRPC {
class MurmurRPCImpl : public QThread {
Q_OBJECT;
std::unique_ptr<grpc::Server> m_server;
+ volatile bool b_IsRunning;
protected:
void customEvent(QEvent *evt);
public: