Esempio n. 1
0
        public void Dispose()
        {
            if (m_Map != null)
            {
                m_Map.Close();
            }

            if (m_MapIndex != null)
            {
                m_MapIndex.Close();
            }

            if (m_Statics != null)
            {
                m_Statics.Close();
            }

            if (m_IndexReader != null)
            {
                m_IndexReader.Close();
            }
        }
Esempio n. 2
0
        public void Dispose()
        {
            if (MapStream != null)
            {
                MapStream.Close();
            }

            if (m_MapIndex != null)
            {
                m_MapIndex.Close();
            }

            if (DataStream != null)
            {
                DataStream.Close();
            }

            if (IndexReader != null)
            {
                IndexReader.Close();
            }
        }