diff --git a/examples/placeholder/linux/include/TestCommand.h b/examples/placeholder/linux/include/TestCommand.h index 2ef81055b8b59b..f70ea183246635 100644 --- a/examples/placeholder/linux/include/TestCommand.h +++ b/examples/placeholder/linux/include/TestCommand.h @@ -74,7 +74,6 @@ class TestCommand { case chip::DeviceLayer::DeviceEventType::kCommissioningComplete: ChipLogProgress(chipTool, "Commissioning complete"); - chip::DeviceLayer::PlatformMgr().RemoveEventHandler(OnPlatformEvent, arg); TestCommand * command = reinterpret_cast(arg); command->isRunning = true;