Skip to content

Commit

Permalink
client: fix NPE on ObjectEnabler.getLwM2mClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jun 30, 2021
1 parent 8d47ec2 commit bf74a62
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ public ContentFormat getDefaultEncodingFormat(DownlinkRequest<?> request) {

@Override
public void setLwM2mClient(LwM2mClient client) {
super.setLwM2mClient(client);
for (LwM2mInstanceEnabler instanceEnabler : instances.values()) {
instanceEnabler.setLwM2mClient(client);
}
Expand Down

0 comments on commit bf74a62

Please sign in to comment.