Skip to content

Commit

Permalink
Do not remove event handler when called.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 authored and bzbarsky-apple committed Jan 7, 2022
1 parent 0e5bc69 commit 38ee631
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/placeholder/linux/include/TestCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<TestCommand *>(arg);
command->isRunning = true;
Expand Down

0 comments on commit 38ee631

Please sign in to comment.