void UnloadProjectSystem() { if (applicationLifetime != null) { applicationLifetime.Stopping(); applicationLifetime.Dispose(); applicationLifetime = null; projectSystem.Dispose(); projectSystem = null; context = null; } }
void UnloadProjectSystem() { initializeError = String.Empty; if (applicationLifetime != null) { applicationLifetime.Stopping(); applicationLifetime.Dispose(); applicationLifetime = null; if (projectSystem != null) { projectSystem.Dispose(); projectSystem = null; } context = null; } }