refactor: GlobalStorageDatabaseChannel should dependents in IStorageMainService (#79387)

This commit is contained in:
DiamondYuan
2019-08-19 17:17:45 +08:00
committed by Benjamin Pasero
parent 6f5198cfb4
commit b0a495e866
3 changed files with 8 additions and 4 deletions

View File

@@ -560,7 +560,7 @@ export class CodeApplication extends Disposable {
electronIpcServer.registerChannel('url', urlChannel);
const storageMainService = accessor.get(IStorageMainService);
const storageChannel = this._register(new GlobalStorageDatabaseChannel(this.logService, storageMainService as StorageMainService));
const storageChannel = this._register(new GlobalStorageDatabaseChannel(this.logService, storageMainService));
electronIpcServer.registerChannel('storage', storageChannel);
// Log level management