V36 test: add process-exit safety only

This commit is contained in:
Dusk-92
2026-08-29 18:12:52 +02:00
parent 4bbee94388
commit 6541727419
+5 -2
View File
@@ -1048,11 +1048,14 @@ comptime {
pub export fn DllMain(
_: ?*anyopaque,
reason: u32,
_: ?*anyopaque,
reserved: ?*anyopaque,
) callconv(WINAPI) std.os.windows.BOOL {
switch (reason) {
1 => install(),
0 => uninstall(),
0 => {
// Process-exit safety only; runtime Outline behavior is unchanged.
if (reserved == null) uninstall();
},
else => {},
}
return @enumFromInt(1);