Browse Source

Merge pull request #589 from mailwl/fix-crash

Fix crash at exit
nce_cpp
bunnei 8 years ago
committed by GitHub
parent
commit
8bd9579984
  1. 2
      src/video_core/debug_utils/debug_utils.h

2
src/video_core/debug_utils/debug_utils.h

@ -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);
}
// 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

Loading…
Cancel
Save