Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/babylon
/ ~SimpleTask
Method
~SimpleTask
test/coroutine/test_task.cpp:52–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
handle = ::std::exchange(other.handle, nullptr);
51
}
52
~SimpleTask() {
53
if (handle) {
54
handle.destroy();
55
handle = nullptr;
56
}
57
}
58
bool await_ready() noexcept {
59
return false;
60
}
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.45
Tested by
no test coverage detected