mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
fix leaking objc (#1898)
This commit is contained in:
parent
2d0f384b6f
commit
a44dc4bdb0
@ -249,6 +249,7 @@ Device::~Device() {
|
||||
for (auto& l : library_map_) {
|
||||
l.second->release();
|
||||
}
|
||||
stream_map_.clear();
|
||||
device_->release();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user