MCPcopy Create free account
hub / github.com/acl-dev/acl / ~CHttpDownload

Method ~CHttpDownload

lib_acl_cpp/samples/HttpClient/HttpDownload.cpp:18–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18CHttpDownload::~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
35void CHttpDownload::destroy()
36{

Callers

nothing calls this directly

Calls 2

get_engine_typeMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected