Open aurban-iqmessenger opened 7 months ago
Thanks for the details.
A quick attempt at a fix suggests we need to modernize the build system first a bit to work with the latest XCode on aarch64.
can i use rabbitmq-objc-client-224 replace version 0.12.0 for solve weak ref problem?
Describe the bug
Connection is dropped shortly after success because of absent heartbeat.
Reproduction steps
Expected behavior
Connection is long-lived
Additional context
Debugged this to the
-[RMQConnection start:]
method, upon completion of a handshake the first thing the connection does is[strongThis.heartbeatSender startWithInterval:@(heartbeatTimeout.integerValue / 2)];
, but the heartbeatSender is nil. heartbeatSender was created during the initialization, though. Found it has been made weak in #194.