src/vs/workbench/services/extensions/common/abstractExtensionService.ts/AbstractExtensionService/_onExtensionHostCrashOrExit
class AbstractExtensionService:	private _onExtensionHostCrashOrExit(extensionHost: IExtensionHostManager, code: number, signal: string | null): void {

		// Unexpected termination
		if (!this._isExtensionDevHost) {
			this._onExtensionHostCrashed(extensionHost, code, signal);
			return;
		}

		this._onExtensionHostExit(code);
	}