mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-26 08:45:59 +00:00
Add failing test for having one Arc ref to a Device
This commit is contained in:
parent
a4f057bbb2
commit
f64bf72ab9
@ -413,3 +413,15 @@ unsafe impl SynchronizedVulkanObject for Queue {
|
||||
self.queue.lock().unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::sync::Arc;
|
||||
|
||||
#[test]
|
||||
#[ignore] // FIXME: failing, fix me
|
||||
fn one_ref() {
|
||||
let (mut device, _) = gfx_dev_and_queue!();
|
||||
assert!(Arc::get_mut(&mut device).is_some());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user