You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error('Something went wrong while trying to dispose extension subscription',err);
}
}
this.extensionState.set(extension.id,'failed');
We are iterating in the subscriptions, and disposing them in a try catch, but here is the catch... we do not set timeout to them, but... they are not promises, they should not take too much time ??
Podman is adding tons of disposales, some of them very heavy
If the problem is coming from disposal never ending, this is tricky, and bad. But we could work around by appliying a race condition between a setTimeout and the disposals, or moving the setState error above, but we could have a state where some resources are yet not disposed, and the extension may restarted.
* have 2 podman machine started
* start podman desktop
* the podman extension will display a dialog about the podman default connection not in sync with the podman machine
* wait at least 20 seconds to answer to the dialog --> extension start elapsed
Moreover, in this state extension cannot be activated anymore in running Podman Desktop. The error says:
Bug description
Reading carefully the logs in #9370 (comment) we have the following
which correspond to the following console.log
podman-desktop/packages/main/src/plugin/extension-loader.ts
Line 1639 in 6c8c434
However; a per the user state: we never the extension state to
failed
, still on activate, meaning something went wrong in those linespodman-desktop/packages/main/src/plugin/extension-loader.ts
Lines 1639 to 1650 in 6c8c434
We are iterating in the subscriptions, and disposing them in a try catch, but here is the catch... we do not set timeout to them, but... they are not promises, they should not take too much time ??
Podman is adding tons of disposales, some of them very heavy
podman-desktop/extensions/podman/packages/extension/src/extension.ts
Lines 1561 to 1563 in d11a6f9
Operating system
Windows 11
Installation Method
Other
Version
next (development version)
Steps to reproduce
#9370
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: