Skip to content

Commit be56836

Browse files
committed
fix(asyncudp): Adds missing unlock
1 parent 5bbb5d5 commit be56836

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/AsyncUDP/src/AsyncUDP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ bool AsyncUDP::_init() {
488488
UDP_MUTEX_LOCK();
489489
_pcb = udp_new();
490490
if (!_pcb) {
491+
UDP_MUTEX_UNLOCK();
491492
return false;
492493
}
493494
udp_recv(_pcb, &_udp_recv, (void *)this);

0 commit comments

Comments
 (0)