Beispiel #1
0
		public void TearDownTest()
		{
			m_db.Stop();
			m_db = null;

			File.Delete("test.dbfile");
		}
Beispiel #2
0
        public void Stop()
        {
            m_log.InfoFormat("Stopping SharpDB...");

            m_server.Stop();
            m_task.Wait();

            m_db.Stop();
            m_context.Dispose();

            m_server  = null;
            m_db      = null;
            m_context = null;
        }
Beispiel #3
0
        public bool Stop(HostControl hostControl)
#endif
        {
            m_log.InfoFormat("Stopping SharpDB...");

            m_server.Stop();
            m_task.Wait();

            m_db.Stop();

            m_server = null;
            m_db     = null;
            return(true);
        }