Skip to content
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

Automatic flush on exit #38

Open
vaind opened this issue Mar 12, 2024 · 0 comments
Open

Automatic flush on exit #38

vaind opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vaind
Copy link
Collaborator

vaind commented Mar 12, 2024

We should find a way to send messages asynchronously while still actually trying to send them before the script exits.

  • trap only gets triggered for errors so that is not usable
  • Register-EngineEvent -SourceIdentifier Powershell.Exiting -Action {} gets stuck on Stop-Sentry call indefinitely. Also, it doesn't seem to work reliably

For now, I'm doing what we do in webGL in Unity, i.e. implement a synchronous "background" worker instead of an async one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants