small change

This commit is contained in:
Jinhao 2017-03-15 23:43:47 +08:00
parent 663c7d361f
commit cc24607a48

View File

@ -1417,7 +1417,8 @@ namespace detail
void window_manager::remove_trash_handle(unsigned tid)
{
internal_scope_guard lock;
//Thread-Safe Required!
std::lock_guard<mutex_type> lock(mutex_);
impl_->wd_register.delete_trash(tid);
}