We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da38704 commit 12e9124Copy full SHA for 12e9124
src/client/client_impl.rs
@@ -674,9 +674,9 @@ impl Drop for Client {
674
debug_assert!(!self.raw().is_null()); // Rep invariant
675
// Close the client
676
sleep_on_test();
677
- let res = unsafe { j::jack_client_close(self.raw()) }; // close the client
+ let _res = unsafe { j::jack_client_close(self.raw()) }; // best effort: close the client
678
679
- assert_eq!(res, 0);
+ //assert_eq!(res, 0); //do not assert here. connection could be broken
680
self.0 = ptr::null_mut();
681
}
682
0 commit comments