Skip to content

Fixed extension host termination issue#27

Merged
anand-presidio merged 3 commits intopresidio-oss:mainfrom
magesh-presidio:bugfix/host-termination
Jan 28, 2025
Merged

Fixed extension host termination issue#27
anand-presidio merged 3 commits intopresidio-oss:mainfrom
magesh-presidio:bugfix/host-termination

Conversation

@magesh-presidio
Copy link
Collaborator

Description

Added validation for workspace folder path

  • After retrieving the workspace folder path, a condition is added to verify its presence. If the condition is met, the File Watcher is initialized, as passing an empty value to the File Watcher leads this issues.

  • Additionally, the codeIndexBackground function is brought under this condition, as invoking it without a valid workspace folder path serves no purpose.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update

Pre-flight Checklist

  • Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs)
  • Tests are passing (npm test) and code is formatted and linted (npm run format && npm run lint)
  • I have reviewed contributor guidelines

@magesh-presidio magesh-presidio self-assigned this Jan 27, 2025
@magesh-presidio magesh-presidio linked an issue Jan 27, 2025 that may be closed by this pull request
krithika7402
krithika7402 previously approved these changes Jan 28, 2025
@anand-presidio anand-presidio merged commit ea36f75 into presidio-oss:main Jan 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extension host getting terminated

3 participants