]> source.dussan.org Git - tigervnc.git/commit
Release queueMutex using finally blocks 703/head
authorPepijn Van Eeckhoudt <pepijn@vaneeckhoudt.net>
Mon, 20 Aug 2018 12:22:37 +0000 (14:22 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Aug 2018 12:22:37 +0000 (14:22 +0200)
commit991c857e0efcc2e8676b2fc033247be806292053
tree0d867b6719ccdf9303636738aadc53d80209c46d
parent392e8c2951809a55c3418406c4940908a9fc939b
Release queueMutex using finally blocks

Ensure queueMutex is always correctly released by using finally blocks. This is the closest approximation of AutoMutex style automatic release you can get in Java.
java/com/tigervnc/rfb/DecodeManager.java