Ejemplo n.º 1
0
        protected override void OnDestroyed()
        {
            if (dragTimerID != 0)
            {
                GLib.Source.Remove(dragTimerID);
                dragTimerID = 0;
            }

            DisconnectSignals();
            blackboard.Dispose();
            blackboard = null;
            timerule.Dispose();
            timerule = null;
            eventEditionTimerule.Dispose();
            eventEditionTimerule = null;

            volumeWindow.Dispose();
            volumeWindow = null;
            jumpsWindow.Dispose();
            jumpsWindow = null;
            zoomWindow.Dispose();
            zoomWindow = null;
            rateWindow.Dispose();
            rateWindow = null;
            ViewModel  = null;

            base.OnDestroyed();
        }
Ejemplo n.º 2
0
 protected override void OnDestroyed()
 {
     timerule.Dispose();
     camerasLabels.Dispose();
     camerasTimeline.Dispose();
     base.OnDestroyed();
 }
Ejemplo n.º 3
0
 protected override void OnDestroyed()
 {
     if (timeoutID != 0)
     {
         GLib.Source.Remove(timeoutID);
         timeoutID = 0;
     }
     timerule.Dispose();
     timeline.Dispose();
     labels.Dispose();
     base.OnDestroyed();
 }
Ejemplo n.º 4
0
        protected override void OnDestroyed()
        {
            Config.EventsBroker.SeekEvent       -= Seek;
            Config.EventsBroker.TogglePlayEvent -= HandleTogglePlayEvent;
            Config.EventsBroker.KeyPressed      -= HandleKeyPressed;

            main_cam_playerbin.Destroy();
            sec_cam_playerbin.Destroy();

            timerule.Dispose();
            camerasLabels.Dispose();
            camerasTimeline.Dispose();

            base.OnDestroyed();
        }
Ejemplo n.º 5
0
        protected override void OnDestroyed()
        {
            Log.Verbose($"Destroying {GetType ()}");

            timerule?.Dispose();
            timeline?.Dispose();
            labels?.Dispose();
            menu?.Dispose();

            scrolledwindow1.Vadjustment.ValueChanged -= HandleScrollEvent;
            scrolledwindow1.Hadjustment.ValueChanged -= HandleScrollEvent;


            base.OnDestroyed();

            Disposed = true;
        }