mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 12:24:20 +01:00
commit
1da0ee57fd
@ -55,8 +55,10 @@ public:
|
|||||||
virtual ~BreakPointObserver() {
|
virtual ~BreakPointObserver() {
|
||||||
auto context = context_weak.lock();
|
auto context = context_weak.lock();
|
||||||
if (context) {
|
if (context) {
|
||||||
|
{
|
||||||
std::unique_lock<std::mutex> lock(context->breakpoint_mutex);
|
std::unique_lock<std::mutex> lock(context->breakpoint_mutex);
|
||||||
context->breakpoint_observers.remove(this);
|
context->breakpoint_observers.remove(this);
|
||||||
|
}
|
||||||
|
|
||||||
// If we are the last observer to be destroyed, tell the debugger context that
|
// 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
|
// it is free to continue. In particular, this is required for a proper yuzu
|
||||||
|
Loading…
Reference in New Issue
Block a user