Destroy workers after services
The workers need to be destroyed only after services have been to ensure that they are around in case the destruction of services involves the closing of dcbs.
This commit is contained in:
parent
2f0292fd68
commit
2da7a93473
@ -2139,14 +2139,14 @@ int main(int argc, char **argv)
|
||||
worker->join();
|
||||
}
|
||||
|
||||
Worker::finish();
|
||||
MessageQueue::finish();
|
||||
|
||||
/*<
|
||||
* Destroy the router and filter instances of all services.
|
||||
*/
|
||||
service_destroy_instances();
|
||||
|
||||
Worker::finish();
|
||||
MessageQueue::finish();
|
||||
|
||||
/*<
|
||||
* Wait the flush thread.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user