diff --git a/src/apps/debugger/controllers/DebugReportGenerator.cpp b/src/apps/debugger/controllers/DebugReportGenerator.cpp index 9379176ff6..3d05bd144c 100644 --- a/src/apps/debugger/controllers/DebugReportGenerator.cpp +++ b/src/apps/debugger/controllers/DebugReportGenerator.cpp @@ -155,6 +155,7 @@ DebugReportGenerator::_GenerateReport(const entry_ref& outputPath) BPath path(&outputPath); + AutoLocker< ::Team> teamLocker(fTeam); fTeam->NotifyDebugReportChanged(path.Path()); return B_OK;