05nelsonm / kmp-tor

Kotlin Multiplatform Library for embedding Tor into your applications
Apache License 2.0
33 stars 5 forks source link

Fix closed dispatcher `IllegalStateException` for native #438

Closed 05nelsonm closed 4 months ago

05nelsonm commented 4 months ago

For TorCtrl if a new job is launched after dispatchers have been closed then it throws IllegalStateException on native, instead of like in Java where it is swallowed.

See https://github.com/05nelsonm/kmp-tor/actions/runs/9436999142/job/25992333969?pr=437#step:10:585