Archived
deploy.
This commit is contained in:
@@ -339,7 +339,14 @@ Class LocalApp
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Cleans up the application by stopping services and logging out licenses.</p>
|
||||
<div class="markdown level1 summary"><p>Cleans up the application by stopping services and logging out licenses.
|
||||
Call it LAST – after the host has stopped serving and disposed everything
|
||||
that drives the native core (display engines, the project service with its
|
||||
play and workpiece trees). On Linux, exit() runs the native library's static
|
||||
destructors while any thread still inside it keeps running, so every native
|
||||
caller has to be finished before Main returns; hooking this at the START of
|
||||
a host's shutdown (ASP.NET Core's ApplicationStopping) is what crashed
|
||||
HiNC-1 on four deploy stops in 2026-09.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user