Debugger: Fix #10764.
- Destroy the background worker before going after all the managers. Otherwise, there might potentially still be jobs in flight that might touch them, leading to crashes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2012, Ingo Weinhold, [email protected].
|
* Copyright 2009-2012, Ingo Weinhold, [email protected].
|
||||||
* Copyright 2010-2013, Rene Gollent, [email protected].
|
* Copyright 2010-2014, Rene Gollent, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -290,12 +290,13 @@ TeamDebugger::~TeamDebugger()
|
|||||||
fReportGenerator->Quit();
|
fReportGenerator->Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete fWorker;
|
||||||
|
|
||||||
delete fImageInfoPendingThreads;
|
delete fImageInfoPendingThreads;
|
||||||
|
|
||||||
delete fBreakpointManager;
|
delete fBreakpointManager;
|
||||||
delete fWatchpointManager;
|
delete fWatchpointManager;
|
||||||
delete fMemoryBlockManager;
|
delete fMemoryBlockManager;
|
||||||
delete fWorker;
|
|
||||||
delete fTeam;
|
delete fTeam;
|
||||||
delete fFileManager;
|
delete fFileManager;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user