Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch panics and C<->Rust boundary #201

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "jack"
readme = "README.md"
repository = "https://github.com/RustAudio/rust-jack"
version = "0.12.0"
version = "0.12.1"

[dependencies]
bitflags = "1"
Expand Down
2 changes: 2 additions & 0 deletions src/client/async_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use jack_sys as j;
use std::fmt;
use std::fmt::Debug;
use std::mem;
use std::sync::atomic::AtomicBool;

use super::callbacks::clear_callbacks;
use super::callbacks::{CallbackContext, NotificationHandler, ProcessHandler};
Expand Down Expand Up @@ -58,6 +59,7 @@ where
client,
notification: notification_handler,
process: process_handler,
is_valid: AtomicBool::new(true),
});
CallbackContext::register_callbacks(&mut callback_context)?;
sleep_on_test();
Expand Down
Loading
Loading