mirai/mirai-core-api/src/commonMain/kotlin
Karlatemp 4c810ee3ee
ExternalResourceLeakObserver (#1383)
* ExternalResourceLeakObserver

* Avoid exceptions of user-defined run-when-close actions

* Fix build

* Release references

* Move `ExternalResourceLeakObserver` to mirai-core-api

* Make internal

* Make `close()` thread-safely

* typo

* Don't track `ExternalResource` creation stack by default

* Update mirai-core-api/src/commonMain/kotlin/internal/utils/ExternalResourceLeakObserver.kt

Co-authored-by: Him188 <Him188@mamoe.net>
2021-07-03 22:05:12 +08:00
..
contact Update copyright 2021-07-02 00:39:10 +08:00
data Update copyright 2021-07-02 00:39:10 +08:00
event Minor update for doc of BotJoinGroupEvent.Active 2021-07-02 22:11:38 +08:00
internal ExternalResourceLeakObserver (#1383) 2021-07-03 22:05:12 +08:00
message Do light refine after constructing MessageReceipt, fix #1371 2021-07-02 21:06:31 +08:00
network Update copyright 2021-07-02 00:39:10 +08:00
utils Update copyright 2021-07-02 00:39:10 +08:00
Bot.kt Update docs and improve source code readability 2021-05-09 15:31:50 +08:00
BotFactory.kt Add inline BotFactory.newBot for Kotlin DSL. fix #1233 (#1234) 2021-05-02 13:51:32 +08:00
IMirai.kt Add _EventBroadcast to allow tests to overrode implementation of Event.broadcast 2021-06-07 18:29:15 +08:00
LowLevelApiAccessor.kt Voice serialization (#1368) 2021-07-02 12:10:20 +08:00