Code Review
/
src
/
agl-compositor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
ca537df
)
grpc-proxy: Terminate thread when we're exiting
01/29301/1
author
Marius Vlad
<marius.vlad@collabora.com>
Tue, 24 Oct 2023 13:51:59 +0000
(16:51 +0300)
committer
Marius Vlad
<marius.vlad@collabora.com>
Tue, 24 Oct 2023 13:51:59 +0000
(16:51 +0300)
We need to be joining the thread to be able to exit properly, so let us
do that.
Bug-AGL: SPEC-4935
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib4e54fcb23267b632f61c10d6ec2835c55ec2f23
grpc-proxy/main-grpc.cpp
patch
|
blob
|
history
diff --git
a/grpc-proxy/main-grpc.cpp
b/grpc-proxy/main-grpc.cpp
index
b2eca84
..
5b07d64
100644
(file)
--- a/
grpc-proxy/main-grpc.cpp
+++ b/
grpc-proxy/main-grpc.cpp
@@
-578,6
+578,7
@@
int main(int argc, char **argv)
ret = wl_display_dispatch(sh->wl_display);
}
ret = wl_display_dispatch(sh->wl_display);
}
+ thread.join();
destroy_shell_data(sh);
return 0;
}
destroy_shell_data(sh);
return 0;
}