Kuinox
✅ Having to press <return> twice?
We dont have the full code, so it's hard to pinpoint the reason.
I suggest to use the debugger and press F10 after .Exit(1).
You can also "break all" to see where the thread is waiting.
Visual Studio open a console that closes when you press enter, that's convenient because it doesn't reopen a console every time. That's maybe one of your return.
Then, you can have events handler that do stuff when your program exit, maybe you plugged in code that does that ?
You can also "break all" to see where the thread is waiting.
Visual Studio open a console that closes when you press enter, that's convenient because it doesn't reopen a console every time. That's maybe one of your return.
Then, you can have events handler that do stuff when your program exit, maybe you plugged in code that does that ?
9 replies