MCPcopy Create free account
hub / github.com/Tencent/tgfx / StopDrawLoop

Function StopDrawLoop

ohos/hello2d/src/main/cpp/napi_init.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static napi_value StopDrawLoop(napi_env, napi_callback_info) {
105 if (displayLink != nullptr) {
106 displayLink->stop();
107 }
108 return nullptr;
109}
110
111static std::shared_ptr<drawers::AppHost> CreateAppHost() {
112 auto appHost = std::make_shared<drawers::AppHost>();

Callers

nothing calls this directly

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected