Commit 8032ee2
committed
JackClient: Lock before killing client notification thread
The client notification thread locks a mutex before reading/writing
from/to the socket. If the thread is killed while the lock is taken it
would leave the mutex dangling.
To avoid this take the mutex and then kill the client notification thread.
Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>1 parent 03b8316 commit 8032ee2
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments