Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae

This commit is contained in:
ADS Merger
2020-06-18 04:32:54 +00:00
committed by AzureDataStudio
parent a971aee5bd
commit 5e7071e466
1002 changed files with 24201 additions and 13193 deletions

View File

@@ -123,7 +123,7 @@ export function LifecyclePhaseToString(phase: LifecyclePhase) {
*/
export interface ILifecycleService {
_serviceBrand: undefined;
readonly _serviceBrand: undefined;
/**
* Value indicates how this window got loaded.

View File

@@ -12,7 +12,7 @@ import { mark } from 'vs/base/common/performance';
export abstract class AbstractLifecycleService extends Disposable implements ILifecycleService {
_serviceBrand: undefined;
declare readonly _serviceBrand: undefined;
protected readonly _onBeforeShutdown = this._register(new Emitter<BeforeShutdownEvent>());
readonly onBeforeShutdown = this._onBeforeShutdown.event;

View File

@@ -41,7 +41,7 @@ export interface ShutdownEvent {
export interface ILifecycleMainService {
_serviceBrand: undefined;
readonly _serviceBrand: undefined;
/**
* Will be true if the program was restarted (e.g. due to explicit request or update).
@@ -137,7 +137,7 @@ export const enum LifecycleMainPhase {
export class LifecycleMainService extends Disposable implements ILifecycleMainService {
_serviceBrand: undefined;
declare readonly _serviceBrand: undefined;
private static readonly QUIT_FROM_RESTART_MARKER = 'quit.from.restart'; // use a marker to find out if the session was restarted