Skip to content

Commit

Permalink
comment out unload
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Aug 18, 2023
1 parent 2aac431 commit bea74af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/minimal_scene/MinimalScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ void GzRenderer::Destroy()
if (engine->SceneCount() == 0)
{
std::cerr << "terminating " << std::endl;
rendering::unloadEngine(engine->Name());
/// rendering::unloadEngine(engine->Name());
std::cerr << "terminated " << std::endl;
}
}
Expand Down
3 changes: 3 additions & 0 deletions test/integration/marker_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,7 @@ TEST_F(MarkerManagerTestFixture,

// Cleanup
plugins.clear();
scene.reset();

window->QuickWindow()->close();
}
5 changes: 3 additions & 2 deletions test/integration/transport_scene_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ TEST(TransportSceneManagerTest, GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX(Config))
}
plugins.clear();

scene.reset();
win->QuickWindow()->close();
engine->DestroyScene(scene);
EXPECT_TRUE(rendering::unloadEngine(engine->Name()));
// engine->DestroyScene(scene);
// EXPECT_TRUE(rendering::unloadEngine(engine->Name()));
}

0 comments on commit bea74af

Please sign in to comment.