Browse Source

microprofiler memleak fix (#123)

some 50mb being leaked; may as well

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/123
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
pull/126/head
Esther1024 7 months ago
committed by crueter
parent
commit
ce6b506b02
  1. 3
      externals/microprofile/microprofile.h

3
externals/microprofile/microprofile.h

@ -1141,6 +1141,9 @@ void MicroProfileShutdown()
MicroProfileWebServerStop();
MicroProfileStopContextSwitchTrace();
MicroProfileGpuShutdown();
for (uint32_t i = 0; i < S.nNumLogs; ++i) {
delete S.Pool[i];
}
}
#ifdef MICROPROFILE_IOS

Loading…
Cancel
Save