fix leaking objc (#1898)

This commit is contained in:
Awni Hannun 2025-02-24 13:57:59 -08:00 committed by GitHub
parent 2d0f384b6f
commit a44dc4bdb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,6 +249,7 @@ Device::~Device() {
for (auto& l : library_map_) { for (auto& l : library_map_) {
l.second->release(); l.second->release();
} }
stream_map_.clear();
device_->release(); device_->release();
} }