v0.3 minor changes #2

This commit is contained in:
Dmitry Isaenko 2019-03-21 14:12:31 +03:00
parent c5906fc974
commit 0c1cef57ac

View file

@ -698,12 +698,12 @@ public class UsbCommunications extends Task<Void> {
logPrinter.print("Release interface", EMsgType.PASS);
LibUsb.close(handlerNS);
logPrinter.print("Requested handler updateAndClose", EMsgType.INFO);
logPrinter.print("Requested handler close", EMsgType.INFO);
}
// Close context in the end
if (contextNS != null) {
LibUsb.exit(contextNS);
logPrinter.print("Requested context updateAndClose", EMsgType.INFO);
logPrinter.print("Requested context close", EMsgType.INFO);
}
// Report status and close