public void Dispose()
        {
            if (Foundation != null && !Foundation.Disposed)
            {
                Foundation.Dispose();
            }

            Foundation  = null;
            Physics     = null;
            Scene       = null;
            ErrorOutput = null;
        }
Example #2
0
 internal static void Destroy()
 {
     Scene.Dispose();
     Physics.Dispose();
     Foundation.Dispose();
 }