Pirmin Walthert wrote:
Hi

You were talking about pointers that are garbage because of wrong code.
=> Couldn't it be possible, that sometimes pointers are valid, as long
as passed, but in the meantime (before the boost-binding is executed)
the corresponding objects are already destroyed? Think of a
"userStateChanged" event (if this exists) when somebody goes offline =>
While one thread wants to remove this contact from the contactlist,
another thread could be deleting this object. => Are there no such
"doubled-bindings" that could lead to exactly this situation?

This is definitely possible, but in the case Lukas reported, it is strange because the parameters are uuid, passed as std::string by value, so they should not get corrupted even if the object they refer to has been deleted.

Aurélien
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to