File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
mirai-core/src/commonMain/kotlin/network Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import net.mamoe.mirai.utils.MiraiLogger
2424import net.mamoe.mirai.utils.systemProp
2525import net.mamoe.mirai.utils.verbose
2626import kotlin.coroutines.cancellation.CancellationException
27- import kotlin.native.concurrent.SharedImmutable
2827
2928/* *
3029 * Implementation must be fast and non-blocking, throwing no exception.
@@ -117,5 +116,4 @@ internal class PacketLoggingStrategyImpl(
117116}
118117
119118
120- @SharedImmutable
121119private val SHOW_PACKET_DETAILS = systemProp(" mirai.network.show.packet.details" , false )
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import net.mamoe.mirai.internal.network.handler.NetworkHandler
1313import net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport
1414import net.mamoe.mirai.utils.*
1515import kotlin.coroutines.coroutineContext
16- import kotlin.native.concurrent.ThreadLocal
1716
1817internal class LoggingStateObserver (
1918 val logger : MiraiLogger ,
@@ -73,7 +72,6 @@ internal class LoggingStateObserver(
7372 )
7473 }
7574
76- @ThreadLocal
7775 companion object {
7876 /* *
7977 * - `on`/`true` for simple logging
You can’t perform that action at this time.
0 commit comments