optimize binary size
This commit is contained in:
@@ -271,7 +271,7 @@ namespace nana
|
||||
if (i == mgr.table.end())
|
||||
{
|
||||
auto result = mgr.table.emplace(wd, std::move(eval));
|
||||
result.first->second.destroy = nana::API::events(wd).destroy([wd]{
|
||||
result.first->second.destroy = nana::API::events(wd).destroy.connect([wd](const arg_destroy&){
|
||||
auto & eval_mgr = get_eval_manager();
|
||||
std::lock_guard<std::recursive_mutex> lockgd(eval_mgr.mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user