Ejemplo n.º 1
0
        protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);
            saveSettings();

            ParameterManager.Dispose();
            ResourceManager.Dispose();
            ResourceContext.Dispose();
        }
Ejemplo n.º 2
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            scene.Release();

            sceneView.Dispose();

            resourceManager.Dispose();
            resourceContext.Dispose();

            timer.Dispose();
            graphics.Dispose();
            audio.Dispose();
            parameterManager.Dispose();
            scriptEngine.Dispose();
            physics.Dispose();

            Graphics.reportLiveObjects();
        }
Ejemplo n.º 3
0
 public virtual void Dispose()
 {
     ActionInParameterManager.Dispose();
     ActionOutParameterManager.Dispose();
     GC.SuppressFinalize(this);
 }