Refactor DebugReportGenerator to use jobs.
- Instead of asking nodes to resolve themselves directly, DebugReportGenerator now uses the interface listener to ask the debugger's workers to resolve them on its behalf.
This commit is contained in:
@@ -416,7 +416,7 @@ TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain)
|
||||
return error;
|
||||
|
||||
// create the debug report generator
|
||||
fReportGenerator = new(std::nothrow) DebugReportGenerator(fTeam);
|
||||
fReportGenerator = new(std::nothrow) DebugReportGenerator(fTeam, this);
|
||||
if (fReportGenerator == NULL)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user