Esempio n. 1
0
                internal void ReleaseResources()
                {
                    Callbacks.Dispose();
                    Callbacks  = null;
                    Owner      = null;
                    Dispatcher = null;
                    RelationInfo.Do(x => x.Release());
                    RelationInfo         = null;
                    SplashScreen.Content = null;
                    SplashScreen         = null;
                    InternalThread       = null;
#if DEBUGTEST || DEBUG
                    WaitEvent = null;
#endif
                }
Esempio n. 2
0
                internal void ReleaseResources()
                {
                    InternalThread = null;
                    Callbacks.Dispose();
                    Callbacks  = null;
                    Owner      = null;
                    Dispatcher = null;
                    RelationInfo.Do(x => x.Release());
                    RelationInfo         = null;
                    SplashScreen.Content = null;
                    SplashScreen         = null;
#if DEBUGTEST || DEBUG
                    WaitEvent = null;
                    if (closingTask != null && !closingTask.Task.IsCompleted)
                    {
                        closingTask.SetResult(true);
                    }
#endif
                }