Wrong order of calls

This commit is contained in:
DBotThePony 2023-07-30 11:25:03 +07:00
parent 49fc5b5eaf
commit cd48b90abf
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -170,13 +170,13 @@ abstract class MatteryNetworkChannel(val version: String, val name: String) {
}
internal fun onServerStopping() {
LockSupport.unpark(thread)
interrupt = true
LockSupport.unpark(thread)
}
internal fun onServerStopped() {
LockSupport.unpark(thread)
interrupt = true
LockSupport.unpark(thread)
}
}
}