improve dockable place

add a new API::at_safe_place()
This commit is contained in:
Jinhao
2015-09-20 23:21:44 +08:00
parent 5d2127e613
commit 460490040e
10 changed files with 181 additions and 13 deletions

View File

@@ -1207,8 +1207,11 @@ namespace detail
if(context) context->event_window = pre_event_window;
}
auto thread_id = ::nana::system::this_thread_id()
brock.wd_manager.call_safe_place(thread_id);
if(msgwnd)
brock.wd_manager.remove_trash_handle(::nana::system::this_thread_id());
brock.wd_manager.remove_trash_handle(thread_id);
}
}