Skip to content

Commit

Permalink
fix: wire record query unbind error (#4983)
Browse files Browse the repository at this point in the history
* fix: WireRecordQuery unbind error on deactivate

Signed-off-by: MMaiero <[email protected]>

* fix: added missing deactivate in store query

Signed-off-by: MMaiero <[email protected]>

---------

Signed-off-by: MMaiero <[email protected]>
  • Loading branch information
MMaiero authored Nov 15, 2023
1 parent 13f5f19 commit 23e9d92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
cardinality="1..1"
interface="org.eclipse.kura.wire.WireHelperService"
name="WireHelperService"
policy="static"
unbind="unbindWireHelperService"/>
policy="static"/>
<reference name="QueryableWireRecordStoreProvider"
policy="dynamic"
bind="bindQueryableWireRecordStoreProvider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
cardinality="1..1"
interface="org.eclipse.kura.wire.WireHelperService"
name="WireHelperService"
policy="static"
unbind="unbindWireHelperService"/>
policy="static"/>
<reference name="WireRecordStoreProvider"
policy="dynamic"
bind="bindWireRecordStoreProvider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ public void updated(final Map<String, Object> properties) {

logger.debug("Updating Wire Record Query component... Done");
}

protected void deactivate() {
logger.debug("Deactivating Wire Record Query Component...");

logger.debug("Deactivating Wire Record Query Component... Done");
}

@Override
public void consumersConnected(final Wire[] wires) {
Expand Down

0 comments on commit 23e9d92

Please sign in to comment.