[haiku-3rdparty-dev] Re: port problems
- From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-3rdparty-dev@xxxxxxxxxxxxx
- Date: Fri, 3 Jun 2016 09:09:50 +0200
Am 03/06/2016 um 04:57 schrieb Sean Healy:
[...] because that direct target pointer was invalid.
The joys of C++ :-)
Void pointers should be used with care -- at least for loopers and
handlers, you might want to prefer passing BMessengers around. Those are
safe to use, and don't even complain (besides returning an error) if the
target is gone.
Bye,
Axel.
Other related posts: