Skip to content
Snippets Groups Projects
Unverified Commit 1da0ee57 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #589 from mailwl/fix-crash

Fix crash at exit
parents c9e821e9 ad39bab2
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,10 @@ public:
virtual ~BreakPointObserver() {
auto context = context_weak.lock();
if (context) {
std::unique_lock<std::mutex> lock(context->breakpoint_mutex);
context->breakpoint_observers.remove(this);
{
std::unique_lock<std::mutex> lock(context->breakpoint_mutex);
context->breakpoint_observers.remove(this);
}
// If we are the last observer to be destroyed, tell the debugger context that
// it is free to continue. In particular, this is required for a proper yuzu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment