1
0
Эх сурвалжийг харах

doc: add an notice about possible undefined behaviour. (#887)

kcalbCube 3 жил өмнө
parent
commit
dc295ca0e1

+ 2 - 0
docs/md/signal.md

@@ -407,6 +407,8 @@ dispatcher.sink<an_event>().connect<&listener::receive>(listener);
 dispatcher.sink<another_event>().connect<&listener::method>(listener);
 dispatcher.sink<another_event>().connect<&listener::method>(listener);
 ```
 ```
 
 
+Note that connecting listeners within event handlers can result in undefined
+behavior.<br/>
 The `disconnect` member function is used to remove one listener at a time or all
 The `disconnect` member function is used to remove one listener at a time or all
 of them at once:
 of them at once: