mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 03:35:46 +00:00
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>
This commit is contained in:
parent
ebd3605313
commit
ce6b506b02
1 changed files with 3 additions and 0 deletions
3
externals/microprofile/microprofile.h
vendored
3
externals/microprofile/microprofile.h
vendored
|
@ -1141,6 +1141,9 @@ void MicroProfileShutdown()
|
||||||
MicroProfileWebServerStop();
|
MicroProfileWebServerStop();
|
||||||
MicroProfileStopContextSwitchTrace();
|
MicroProfileStopContextSwitchTrace();
|
||||||
MicroProfileGpuShutdown();
|
MicroProfileGpuShutdown();
|
||||||
|
for (uint32_t i = 0; i < S.nNumLogs; ++i) {
|
||||||
|
delete S.Pool[i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MICROPROFILE_IOS
|
#ifdef MICROPROFILE_IOS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue