v0.3 minor changes #2

This commit is contained in:
Dmitry Isaenko 2019-03-21 14:12:31 +03:00
parent 1f3cc3d8a5
commit 4c1fc36f9d

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