There should be several memory leaks if ImGui Shutdown is not called properly. You can use Microsoft's CRT library to check for them.