MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / ~Task

Method ~Task

tests/integrationtests/DBusAwaitableMethodsTests.cpp:101–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 Task(const Task&) = delete;
100 Task& operator=(const Task&) = delete;
101 ~Task() { if (handle) handle.destroy(); }
102
103 // "User API" for the test code, allows starting the task and retrieving the result or exception
104 void resume() { if (handle && !handle.done()) handle.resume(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected