mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Add global destructor of platforms
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e079d94869
commit
40d487fa90
@@ -844,7 +844,7 @@ struct ValidHostPtr
|
||||
void TearDown() override {
|
||||
delete buffer;
|
||||
BaseClass::TearDown();
|
||||
platformsImpl.clear();
|
||||
platformsImpl->clear();
|
||||
MemoryManagementFixture::TearDown();
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class DestructorCallbackFixture : public MemoryManagementFixture {
|
||||
|
||||
void TearDown() override {
|
||||
delete BufferDefaults::context;
|
||||
platformsImpl.clear();
|
||||
platformsImpl->clear();
|
||||
MemoryManagementFixture::TearDown();
|
||||
}
|
||||
|
||||
|
||||
@@ -737,7 +737,7 @@ struct CreateImageHostPtr
|
||||
void TearDown() override {
|
||||
delete image;
|
||||
BaseClass::TearDown();
|
||||
platformsImpl.clear();
|
||||
platformsImpl->clear();
|
||||
MemoryManagementFixture::TearDown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user