summaryrefslogtreecommitdiffhomepage
path: root/src/ac.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-08-30 23:18:38 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-08-30 23:44:50 +0100
commit464c9398ae49d8faae46f81fb7040155408858f7 (patch)
tree3c8f035e752124a7f9f32179fa01d5c56c9d2439 /src/ac.c
parent8a1c4de9b33128c10378f1938d8a60c071f01ad0 (diff)
Perform very minor load/unload optimisations
Because why not.
Diffstat (limited to 'src/ac.c')
-rw-r--r--src/ac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ac.c b/src/ac.c
index 228fa58..be7fbba 100644
--- a/src/ac.c
+++ b/src/ac.c
@@ -430,6 +430,7 @@ e: munmap(keybox, 4096);
END {
ac_disable();
#if defined(_WIN32)
+ // TODO(opt): *maybe* do the skip-on-quit stuff here. feels a bit scary...
WerUnregisterExcludedMemoryBlock(keybox); // this'd better not fail!
VirtualFree(keybox, 4096, MEM_RELEASE);
win32_end();