Skip to content

Commit

Permalink
Bumped up dependency versions.
Browse files Browse the repository at this point in the history
Addressed a Clippy warning.
  • Loading branch information
zlogic authored and Dmitrii Zolotukhin committed Mar 3, 2024
1 parent 18b8e95 commit 63af91c
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 50 deletions.
89 changes: 43 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "cybervision"
version = "0.19.0"
version = "0.19.1"
edition = "2021"
authors = ["Dmitry Zolotukhin <[email protected]>"]
repository = "https://github.com/zlogic/cybervision"
license = "Apache-2.0"
rust-version = "1.75"
rust-version = "1.76"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 2 additions & 2 deletions src/correlation/gpu/metal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,10 @@ impl super::Device for Device {
impl Drop for DeviceContext {
fn drop(&mut self) {
autoreleasepool(|| {
self.device.as_mut().map(|device| {
if let Some(device) = self.device.as_mut() {
device.pipelines.clear();
device.buffers = None;
});
};
self.device = None;
});
}
Expand Down

0 comments on commit 63af91c

Please sign in to comment.