Skip to content

Commit

Permalink
Ignore delete wifi device when heartbeat error
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Jun 16, 2024
1 parent 53d7f65 commit f18f6ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usbmuxd2/Muxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ void Muxer::add_device(std::shared_ptr<Device> dev) noexcept{
}catch (tihmstar::exception &e){
error("Failed to start WIFIDevice %s with error=%d (%s)",wifidev->_serial,e.code(),e.what());
_devices.delMember();
delete_device(dev);
// ignore heartbeat errors to delete device
// delete_device(dev);
return;
}
}
Expand Down

0 comments on commit f18f6ad

Please sign in to comment.