Skip to content

Commit

Permalink
Don't reinitialise network multiple times (openhab#645)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <[email protected]>
  • Loading branch information
cdjackson committed May 13, 2021
1 parent 367d540 commit 2557993
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ private synchronized void initialiseZigBee() {
// the network again!
initializeNetwork = false;

// Set initializeNetwork to false to ensure that if communications to the dongle restarts, we don't reinitialise
// the network again!
initializeNetwork = false;

initializeDongleSpecific();
}

Expand Down

0 comments on commit 2557993

Please sign in to comment.