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 95b13bd commit 4718f7aCopy full SHA for 4718f7a
tests/online.rs
@@ -121,3 +121,15 @@ fn test_channels() {
121
context.destination().set_channel_count(5);
122
assert_eq!(context.destination().channel_count(), 5);
123
}
124
+
125
+#[test]
126
+fn test_panner_node_drop_panic() {
127
+ // https://github.com/orottier/web-audio-api-rs/issues/369
128
+ let context = AudioContext::default();
129
130
+ let panner = context.create_panner();
131
+ drop(panner);
132
+ std::thread::sleep(std::time::Duration::from_millis(100));
133
+ let mut _panner = context.create_panner();
134
135
+}
0 commit comments