MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / unbind

Method unbind

modules/core/task/src/task.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 ftl::BindScheduler(internal);
48}
49void scheduler_t::unbind()
50{
51 SKR_ASSERT(internal);
52 SKR_ASSERT(scheduler == this);
53 scheduler = nullptr;
54 delete internal;
55 internal = nullptr;
56 ftl::UnbindScheduler();
57}
58scheduler_t* details::get_scheduler()
59{
60 SKR_ASSERT(scheduler != nullptr);

Callers 10

compile_allFunction · 0.45
unbindFunction · 0.45
on_unloadMethod · 0.45
mainFunction · 0.45
ShutdownMethod · 0.45
on_unloadMethod · 0.45
scheduler_test.cppFile · 0.45
~WithBoundSchedulerMethod · 0.45
TestCallsMethod · 0.45
~Task2Method · 0.45

Calls

no outgoing calls

Tested by 2

~WithBoundSchedulerMethod · 0.36
TestCallsMethod · 0.36