Skip to content

Call connected only once in the lifetime of a plugin

Albert Vaca Cintora requested to merge work/plugin-connected-call-once into master

The connected() callback is used by plugins to request the initial state to the remote device.

Since the state is never lost as long as the plugin isn't deleted, there's no need to call connected() more than once after a plugin is created.

This matches what we do on Android.

Merge request reports

Loading