Initial value of threadID is 0, so we don't have to initialize the poller in order to close it

This commit is contained in:
Robinson 2023-09-07 12:23:23 +02:00
parent ba4df9b33b
commit 9d0d8efdc0
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ internal class EventPoller {
@Volatile
private var threadId = Thread.currentThread().id
private var threadId = 0L
fun isDispatch(): Boolean {