summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
diff options
context:
space:
mode:
authorAriel Manzur <ariel@godotengine.org>2015-11-14 11:14:17 -0300
committerAriel Manzur <ariel@godotengine.org>2015-11-14 11:14:17 -0300
commit8adc4ef65b76ee0e8a5fdf6c773d47716fa8511f (patch)
tree52352636c1807d7f3590703ed4eb01bf0062636a /platform/windows/os_windows.cpp
parent8420c24f7f35cdd7adbc7d4595cb1756020ab127 (diff)
windows crash and bind placeholder method
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r--platform/windows/os_windows.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 438a5a6903..55452052e4 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1350,7 +1350,9 @@ void OS_Windows::finalize() {
memdelete(main_loop);
main_loop=NULL;
-
+
+ memdelete(input);
+
visual_server->finish();
memdelete(visual_server);
#ifdef OPENGL_ENABLED
@@ -1377,8 +1379,6 @@ void OS_Windows::finalize() {
memdelete(audio_server);
memdelete(sample_manager);
- memdelete(input);
-
physics_server->finish();
memdelete(physics_server);