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
As reported on the Discord by @PrzemyslawKlys, it is possible to spawn the extension terminal twice on accident. If the extension is in the process of starting, and another event initiates a start, two terminals will be spawned. The start() function of the session manager is not re-entrant, but as there are multiple events that may enter it, it needs a simple lock that waits for the original call to finish if it's called while already starting.
PowerShell Version
N/A
Visual Studio Code Version
N/A
Extension Version
v2022.8.5
Steps to Reproduce
While extension is still starting, do something like run a PowerShell debug config which also starts the extension.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Summary
As reported on the Discord by @PrzemyslawKlys, it is possible to spawn the extension terminal twice on accident. If the extension is in the process of starting, and another event initiates a start, two terminals will be spawned. The
start()
function of the session manager is not re-entrant, but as there are multiple events that may enter it, it needs a simple lock that waits for the original call to finish if it's called while already starting.PowerShell Version
N/A
Visual Studio Code Version
N/A
Extension Version
v2022.8.5
Steps to Reproduce
While extension is still starting, do something like run a PowerShell debug config which also starts the extension.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: