I run my cefsharp
application using task scheduler on windows server. I have succeed exit with Application.exit()
. But the status in task scheduler is still running not stopped.
I think, it was happenned because I didn't use Cef.shutdown()
. But in this case I am getting error when use this syntax like this :
**`
Shutdown must be called on the same thread that Initialize was called - typically your UI thread. CefSharp was initialized on ManagedThreadId: 10
`**
Please help to solve this issue. Thanks