mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +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
@@ -2595,7 +2595,7 @@ TEST(ProgramDestructionTests, givenProgramUsingDeviceWhenItIsDestroyedAfterPlatf
|
||||
auto globalAllocation = device->getMemoryManager()->allocateGraphicsMemoryWithProperties(MockAllocationProperties{device->getRootDeviceIndex(), MemoryConstants::pageSize});
|
||||
pProgram->setGlobalSurface(globalAllocation);
|
||||
|
||||
platformsImpl.clear();
|
||||
platformsImpl->clear();
|
||||
EXPECT_EQ(1, device->getRefInternalCount());
|
||||
EXPECT_EQ(1, pProgram->getRefInternalCount());
|
||||
context->decRefInternal();
|
||||
|
||||
Reference in New Issue
Block a user