Use this overload if you either want strong ref
semantics for some reason or because you want to connect some
non-class method delegate. Whatever the delegates' context
references will stay in memory as long as the signals'
connection is not removed and the signal gets not destroyed
itself.
Connect with strong ref semantics.
Use this overload if you either want strong ref semantics for some reason or because you want to connect some non-class method delegate. Whatever the delegates' context references will stay in memory as long as the signals' connection is not removed and the signal gets not destroyed itself.
Preconditions: dg must not be null.