Skip to content

Commit

Permalink
Initialize listener
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Feb 17, 2024
1 parent 533bfe8 commit ab64904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public NetworkTableSourceType(NetworkTablesPlugin plugin) {
inst.addConnectionListener(true,
event -> setConnectionStatus(plugin.getServerId(), event.is(NetworkTableEvent.Kind.kConnected)));
subscriber = new MultiSubscriber(inst, new String[] {""}, PubSubOption.hidden(true));
inst.addListener(
listener = inst.addListener(
subscriber,
EnumSet.of(
NetworkTableEvent.Kind.kImmediate,
Expand Down

0 comments on commit ab64904

Please sign in to comment.