zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 92 forks source link

Stop polling for job output after file is closed #3264

Open t1m0thyj opened 3 weeks ago

t1m0thyj commented 3 weeks ago

Describe the bug

If I start polling for a spool file open in the editor, and close the file, then polling does not stop.

Actual behavior

Polling continues in the background for closed spool files and shows messages in the status bar.

Expected behavior

Polling should automatically stop for a spool file once I close it.

Screenshots

Desktop (please complete the following information):

Additional context

Related to https://github.com/zowe/zowe-explorer-vscode/issues/2402 but that is an enhancement requesting a "Stop All" command

github-actions[bot] commented 3 weeks ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.