fix failure to clean up on exit

This commit is contained in:
Eric House 2013-01-24 08:08:53 -08:00
parent cbb82eb5e8
commit 481f344ff4

View file

@ -2107,6 +2107,11 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
endwin();
if ( !!params->dbName ) {
closeGamesDB( g_globals.cGlobals.pDb );
}
relaycon_cleanup( params );
linux_util_vt_destroy( g_globals.cGlobals.util );
} /* cursesmain */
#endif /* PLATFORM_NCURSES */