MCPcopy Create free account
hub / github.com/Fable2Recomp/Fable2Recomp / OnClosing

Method OnClosing

src/main.cpp:198–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 void OnClosing(rex::ui::UIEvent& e) override {
199 (void)e;
200 REXLOG_INFO("Window closing, shutting down...");
201 shutting_down_.store(true, std::memory_order_release);
202 if (runtime_ && runtime_->kernel_state()) {
203 runtime_->kernel_state()->TerminateTitle();
204 }
205 app_context().QuitFromUIThread();
206 }
207
208 void OnDestroy() override {
209 settings_overlay_.reset();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected