MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / ~DebugSession

Method ~DebugSession

src/plugins/debugger/dap/debugsession.cpp:43–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43DebugSession::~DebugSession()
44{
45 for (auto it : stoppedDetails) {
46 if (it) {
47 delete it;
48 it = nullptr;
49 }
50 }
51 stoppedDetails.clear();
52
53 for (auto it : threads) {
54 if (it.second) {
55 delete it.second;
56 it.second = nullptr;
57 }
58 }
59 threads.clear();
60
61 dap::terminate();
62 delete alertBox;
63}
64
65const Capabilities &DebugSession::capabilities() const
66{

Callers

nothing calls this directly

Calls 2

terminateFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected