Esempio n. 1
0
        internal void OnTerminate()
        {
            _openDatabases.Clear();
            _currentDatabase = null;

            if (FileDbHelper != null && FileDbHelper.IsOpen())
            {
                FileDbHelper.Close();
            }
            GC.Collect();
        }
Esempio n. 2
0
        internal void OnTerminate()
        {
            if (_db != null)
            {
                _db.Clear();
            }

            if (FileDbHelper != null && FileDbHelper.IsOpen())
            {
                FileDbHelper.Close();
            }
        }