From 3c62b224dbe67b8b649e2d53ade7ae475049606a Mon Sep 17 00:00:00 2001 From: lmat Date: Tue, 13 Dec 2022 09:16:26 -0500 Subject: [PATCH] Touch up documentation on Wt::WSignal --- src/Wt/WSignal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Wt/WSignal.h b/src/Wt/WSignal.h index 3a2a8323f8..697b146798 100644 --- a/src/Wt/WSignal.h +++ b/src/Wt/WSignal.h @@ -166,8 +166,10 @@ class WT_API SignalBase * the same parameters in the member function, or less (leaving out * parameters at the end). * - * The signal automatically disconnects from the slot when the - * target is deleted. In addition, the signal may be deleted at any + * When the receiver function is an object method, the signal will + * automatically be disconnected when the object is deleted, as long + * as the object inherits from WObject (or Wt::Core::observable). + * In addition, the signal may be deleted at any * time, in particular also while it is being emitted. * * \if cpp