提交 b6b8c160 编写于 作者: J Joao Moreno

review comments

上级 7e0c2260
......@@ -242,6 +242,7 @@ export class Client implements IChannelClient, IDisposable {
}
dispose() {
this._onDidProcessExit.dispose();
this.disposeDelayer.cancel();
this.disposeDelayer = null;
this.disposeClient();
......
......@@ -43,7 +43,7 @@ export class NsfwWatcherService implements IWatcherService {
readonly onWatchEvent = this._onWatchEvent.event;
watch(options: IWatcherOptions): Event<watcher.IRawFileChange[] | Error> {
this._verboseLogging = true;
this._verboseLogging = options.verboseLogging;
return this.onWatchEvent;
}
......
......@@ -16,7 +16,7 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import { Schemas } from 'vs/base/common/network';
import { filterEvent } from 'vs/base/common/event';
import { isError } from 'util';
import { isError } from 'vs/base/common/errors';
export class FileWatcher {
private static readonly MAX_RESTARTS = 5;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册