mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
fix failure to clean up on exit
This commit is contained in:
parent
cbb82eb5e8
commit
481f344ff4
1 changed files with 5 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue