api: finalize windowActivity (#210491)

Closes #181569
This commit is contained in:
Connor Peet
2024-04-16 11:03:14 -07:00
committed by GitHub
parent 21c66842b7
commit 97df4dad38
6 changed files with 13 additions and 29 deletions

View File

@@ -749,7 +749,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return _asExtensionEvent(extHostTerminalShellIntegration.onDidEndTerminalShellExecution)(listener, thisArg, disposables);
},
get state() {
return extHostWindow.getState(extension);
return extHostWindow.getState();
},
onDidChangeWindowState(listener, thisArg?, disposables?) {
return _asExtensionEvent(extHostWindow.onDidChangeWindowState)(listener, thisArg, disposables);