mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
[MatrixSDK] makes sure to release FFI objects from RustMatrixRoom by calling close
This commit is contained in:
@@ -71,6 +71,7 @@ class RoomFlowNode @AssistedInject constructor(
|
||||
},
|
||||
onDestroy = {
|
||||
Timber.v("OnDestroy")
|
||||
inputs.room.close()
|
||||
plugins<LifecycleCallback>().forEach { it.onFlowReleased(inputs.room) }
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user