diff options
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
-rw-r--r-- | cc/test/fake_tile_manager.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc index 873e649..d5bc80b 100644 --- a/cc/test/fake_tile_manager.cc +++ b/cc/test/fake_tile_manager.cc @@ -73,7 +73,10 @@ FakeTileManager::FakeTileManager(TileManagerClient* client, raster_task_limit_bytes, NULL) {} -FakeTileManager::~FakeTileManager() {} +FakeTileManager::~FakeTileManager() { + RasterWorkerPoolForTesting()->Shutdown(); + RasterWorkerPoolForTesting()->CheckForCompletedTasks(); +} void FakeTileManager::AssignMemoryToTiles( const GlobalStateThatImpactsTilePriority& state) { |