Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoliwei committed Dec 6, 2019
1 parent ba952c2 commit daa54e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/tools/common/shared_io_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class shared_io_service : public utils::singleton<shared_io_service>
~shared_io_service()
{
ios.stop();
for (int i = 0; i < _io_service_worker_count; i++) {
_workers[i]->join();
for (auto worker : _workers) {
worker->join();
}
}

Expand Down

0 comments on commit daa54e4

Please sign in to comment.