Skip to content

Commit

Permalink
Update src/DarkId.Papyrus.DebugServer/DebugServer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita authored Feb 12, 2023
1 parent 3362b7c commit f1c1316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DarkId.Papyrus.DebugServer/DebugServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace DarkId::Papyrus::DebugServer
// After we send the disconnect response, stop the session
sess->registerSentHandler(
[&](const dap::ResponseOrError<dap::DisconnectResponse>&) {
std::unique_lock<std::mutex> lock(mutex);
terminate = true;
cv.notify_all();
});
Expand Down

0 comments on commit f1c1316

Please sign in to comment.