Example #1
0
        /// <summary>
        /// Closes editor window
        /// </summary>
        public static void Close()
        {
            var action = new Action(() => {
                Window.Close();
                CoreEditor.Close();
            });

            UIThreadHelper.Instance.Invoke(action);
        }
Example #2
0
 public void Dispose()
 {
     _containerDisposable.Dispose();
     UIThreadHelper.Instance.Invoke(() => _coreEditor.Close());
 }