modify exit_emulator
authorSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 03:32:31 +0000 (12:32 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 03:32:31 +0000 (12:32 +0900)
tizen/src/emulator.c

index 83d9d88..f6a9b94 100644 (file)
@@ -65,6 +65,7 @@ void set_emulator_condition(int state)
 void exit_emulator(void)
 {
     shutdown_skin_server();
+    shutdown_guest_server();
     SDL_Quit();
     remove_pidfile();
 }
@@ -180,8 +181,6 @@ int main(int argc, char* argv[])
     INFO("qemu main start!\n");
     qemu_main(qemu_argc, qemu_argv, NULL);
 
-    shutdown_guest_server();
-
     exit_emulator();
 
     return 0;