Linux + iPhone Continuity / iMessage / SMS
Continued scope creep backout
sfreeman4227c8ac3d1df82
diff --git a/src/core/src/event_loop.cpp b/src/core/src/event_loop.cppindex b269829..705754f 100644--- a/src/core/src/event_loop.cpp+++ b/src/core/src/event_loop.cpp@@ -99,7 +99,9 @@ namespace tether {int fd = events[i].data.fd;auto it = callbacks_.find(fd);if (it != callbacks_.end()) {- it->second(fd);+ // Copy the callback to ensure it stays alive even if removeFd is called inside it+ auto cb = it->second;+ cb(fd);}}}