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

StartLimitedTask will duplicate the instances #3

Open
Hax1337 opened this issue Nov 14, 2021 · 1 comment
Open

StartLimitedTask will duplicate the instances #3

Hax1337 opened this issue Nov 14, 2021 · 1 comment

Comments

@Hax1337
Copy link

Hax1337 commented Nov 14, 2021

Using the function above I ran into the issue that a non elevated task would start a duplicate instance.

Im assuming the issue is that withing the method as it first starts a process and then also starts another task:

image

By removing the code marked as (1) the issue was resolved.

@Hax1337
Copy link
Author

Hax1337 commented Nov 14, 2021

Or adding a "return" after the Process starts does also the job :)

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

No branches or pull requests

1 participant