mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
add disposable
however i was not able to see onDestroy being executed. anyway, disposables won't be necessary when coroutine is used. also: remove a useless outdated log line Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
8dd1b885f3
commit
acd964869d
@ -2448,7 +2448,7 @@ class ChatActivity :
|
||||
currentlyPlayedVoiceMessage?.let { stopMediaPlayer(it) } // FIXME, mediaplayer can sometimes be null here
|
||||
|
||||
adapter = null
|
||||
Log.d(TAG, "inConversation was set to false!")
|
||||
disposables.dispose()
|
||||
}
|
||||
|
||||
private fun joinRoomWithPassword() {
|
||||
@ -2513,7 +2513,7 @@ class ChatActivity :
|
||||
?.observeOn(AndroidSchedulers.mainThread())
|
||||
?.subscribe(object : Observer<SignalingSettingsOverall> {
|
||||
override fun onSubscribe(d: Disposable) {
|
||||
// unused atm
|
||||
disposables.add(d)
|
||||
}
|
||||
|
||||
override fun onNext(signalingSettingsOverall: SignalingSettingsOverall) {
|
||||
|
Loading…
Reference in New Issue
Block a user