MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ExitIfNotPersistent

Method ExitIfNotPersistent

source/script.cpp:1302–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1300
1301
1302void Script::ExitIfNotPersistent(ExitReasons aExitReason)
1303{
1304 if (g_nThreads || IsPersistent())
1305 return;
1306 g_script.ExitApp(aExitReason);
1307}
1308
1309
1310

Callers 5

DestroyMethod · 0.80
CancelMethod · 0.80
InputReleaseFunction · 0.80
MainWindowProcFunction · 0.80
ResumeUnderlyingThreadFunction · 0.80

Calls 1

ExitAppMethod · 0.80

Tested by

no test coverage detected