diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-21 18:42:11 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-22 09:12:39 +0200 |
commit | 198b70909a337698520455a063e46b1fa6c12aa0 (patch) | |
tree | 16272d639a2d7c88937536a09baa6e78bf316409 /src/ipcpd/normal/enroll.c | |
parent | 5b242e7207483860143d3c84438134430ac1448f (diff) | |
download | ouroboros-198b70909a337698520455a063e46b1fa6c12aa0.tar.gz ouroboros-198b70909a337698520455a063e46b1fa6c12aa0.zip |
ipcpd: Improve locking in connmgr
Diffstat (limited to 'src/ipcpd/normal/enroll.c')
-rw-r--r-- | src/ipcpd/normal/enroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c index 471230bc..a33239a0 100644 --- a/src/ipcpd/normal/enroll.c +++ b/src/ipcpd/normal/enroll.c @@ -324,6 +324,7 @@ int enroll_init(void) void enroll_fini(void) { + pthread_join(enroll.listener, NULL); cdap_destroy(enroll.cdap); connmgr_ae_destroy(enroll.ae); } @@ -339,5 +340,4 @@ int enroll_start(void) void enroll_stop(void) { pthread_cancel(enroll.listener); - pthread_join(enroll.listener, NULL); } |