Skip to content

Commit

Permalink
minor destructor update
Browse files Browse the repository at this point in the history
  • Loading branch information
NachtRaveVL committed Mar 26, 2023
1 parent 1a28dfe commit f0b8735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Hydruino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ Hydruino::~Hydruino()
while (_objects.size()) { _objects.erase(_objects.begin()); }
while (_pinOneWire.size()) { dropOneWireForPin(_pinOneWire.begin()->first); }
while (_pinMuxers.size()) { _pinMuxers.erase(_pinMuxers.begin()); }
#ifndef HYDRO_DISABLE_MULTITASKING
while (_pinExpanders.size()) { _pinExpanders.erase(_pinExpanders.begin()); }
#endif
deallocateEEPROM();
deallocateRTC();
deallocateSD();
Expand Down

0 comments on commit f0b8735

Please sign in to comment.