-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Disposal Logic + Error toast #175
base: main
Are you sure you want to change the base?
Conversation
bmingles
commented
Nov 13, 2024
•
edited
Loading
edited
- Cleanup panel caches on server disconnect. Should resolve Panel list does not reflect the current server state #145
- Added a toast when running a script for the first time auto connects to a server that doesn't support the language. Part of Attempting to run a groovy file in python results in a disconnect #97
- Map value disposal
- Event handler disposal
- Fixed circular dependencies issue between services and util folders. Services can now depend on utils. Utils should not depend on services.
End-to-end Test Summary
Detailed Test Results
Failed Test SummaryNo failed tests ✨Flaky Test SummaryNo flaky tests detected. ✨ |
0e927b0
to
9603cf9
Compare
@@ -382,6 +404,7 @@ export class ExtensionController implements Disposable { | |||
|
|||
this._serverManager.onDidDisconnect( | |||
serverUrl => { | |||
this._panelService?.clearServerData(serverUrl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes #145
src/services/PollingService.spec.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved out of utils
* @returns Promise that resolves when the poll function returns true + a `reject` | ||
* function that can be used to cancel the polling. | ||
*/ | ||
export function pollUntilTrue( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved out of utils to fix circular dependency