Rev 1598 | Rev 1625 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1598 | Rev 1599 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | } |
32 | } |
| 33 | 33 | ||
| 34 | IoService::~IoService() |
34 | IoService::~IoService() |
| 35 | { |
35 | { |
| 36 | this->tracker_.reset(); |
36 | this->tracker_.reset(); |
| - | 37 | ||
| - | 38 | this->io_service_.stop(); |
|
| 37 | 39 | ||
| 38 | this->thread_.interrupt(); |
40 | this->thread_.interrupt(); |
| 39 | this->thread_.join(); |
41 | this->thread_.join(); |
| 40 | } |
42 | } |
| 41 | 43 | ||