]> go.fuhry.dev Git - fsnotify.git/commit
Fix deadlock on BSD
authorCaleb Spare <cespare@gmail.com>
Thu, 21 Nov 2013 13:02:37 +0000 (05:02 -0800)
committerCaleb Spare <cespare@gmail.com>
Thu, 21 Nov 2013 13:02:37 +0000 (05:02 -0800)
commit7d3cbfd83674ca1ce1608aeb659e6a0e9690d73c
treea32676ec398b00f3351788e27777fa3f68fe5a50
parent2794b071df8850e37052fe727fcb2c00a94956a9
Fix deadlock on BSD

The removeWatch routine could return without releasing the lock on
w.bufmut. This change unlocks the mutex before checking for errors.
fsnotify_bsd.go