Skip to content

Commit

Permalink
fix: deadlock on client close
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Aug 3, 2022
1 parent c5e75ec commit 79b5a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recfz/recfz.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (f *FlipperZero) Close() {
f.isClosing = true
f.cancel()
close(f.reconnCh)
f.getConn().Close()
f.conn.Close()
}

func (f *FlipperZero) getClosing() bool {
Expand Down

0 comments on commit 79b5a85

Please sign in to comment.