Skip to content
Snippets Groups Projects
Commit a1654bf6 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed an issue where the CONNECTED event was not properly determined

parent 3271a313
Branches
Tags
No related merge requests found
......@@ -33,7 +33,7 @@ class BufferViewManager constructor(
if (_bufferViewConfigs.contains(config.bufferViewId()))
return
proxy.synchronize(config)
proxy.synchronize(config, !initialized)
_bufferViewConfigs[config.bufferViewId()] = config
}
......
......@@ -57,8 +57,9 @@ abstract class ProtocolHandler : SignalProxy, AuthHandler {
obj.fromVariantMap(f.initData)
obj.initialized = true
synchronize(obj)
val list = toInit.remove(obj)
checkForInitDone()
toInit.remove(obj)?.map(this::handle)
list?.map(this::handle)
return true
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment