[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