public static void Shutdown(bool delete)
        {
            if (!Started)
            {
                return;
            }
            Started = false;

            LibENet.Unload();
            if (delete)
            {
                LibENet.TryDelete();
            }

            Allocator.Dispose();
            Allocator = null;
        }
 public void Dispose()
 {
     Allocator.Dispose();
     CommandList.Dispose();
 }
Exemple #3
0
 public void Dispose()
 {
     Store.Dispose();
     Allocator.Dispose();
 }