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; }
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); }