Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/forge
/ destroyWtkIfDone
Function
destroyWtkIfDone
src/backend/opengl/window_impl.cpp:97–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
void destroyWtkIfDone()
98
{
99
std::lock_guard<std::mutex> lock(initMutex);
100
101
initCallCount--;
102
103
if (initCallCount==-1)
104
forge::wtk::destroyWindowToolkit();
105
}
106
107
namespace opengl
108
{
Callers
1
~window_impl
Method · 0.85
Calls
1
destroyWindowToolkit
Function · 0.50
Tested by
no test coverage detected