The lifetime of lambda-connected objects is tied to the lifetime of the object that the signal is emitted from. Once that object is destroyed, any lambda-connected objects will also be destroyed and their memory will be freed.