On 4/13/22 10:48, Zhiyi Zhang wrote:
theError:
- if (applet->context_activated)
DeactivateActCtx(0, applet->cookie);
- ReleaseActCtx(applet->context); FreeLibrary(applet->hModule); heap_free(applet->cmd); heap_free(applet);
Is it correct to deactivate before unloading, so detach calls won't get the same context as attach calls?