예제 #1
0
        private void OnApplicationQuit()
        {
            // Make sure connections are correctly stopped
            if (SQLiteHandler.connectionState == ConnectionState.Open)
            {
                SQLiteHandler.Stop();
            }

            if (MySQLHandler.connectionState == ConnectionState.Open)
            {
                MySQLHandler.Stop();
            }
        }