| 16 | } |
| 17 | |
| 18 | CHttpDownload::~CHttpDownload(void) |
| 19 | { |
| 20 | #ifdef WIN32 |
| 21 | acl::aio_handle_type handle_type = handle_->get_engine_type(); |
| 22 | if (handle_type == acl::ENGINE_WINMSG) |
| 23 | { |
| 24 | ASSERT(hWnd_); |
| 25 | ::PostMessage(hWnd_, WM_USER_DOWNLOAD_OVER, 0, 0); |
| 26 | } |
| 27 | else |
| 28 | handle_->stop(); |
| 29 | #else |
| 30 | // ֪ͨ�첽�¼�������ȫ�˳� |
| 31 | handle_->stop(); |
| 32 | #endif |
| 33 | } |
| 34 | |
| 35 | void CHttpDownload::destroy() |
| 36 | { |
nothing calls this directly
no test coverage detected