[haiku-commits] Re: haiku: hrev49712 - src/kits/tracker
- From: Hamish Morrison <hamishm53@xxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Wed, 21 Oct 2015 18:11:16 +0100
On Wed, Oct 21, 2015 at 6:08 PM, John Scipione <jscipione@xxxxxxxxx> wrote:
But that could be completely wrong, if so, setting the pointer to NULL
is pointless. It depends on if there are dangling pointers somewhere
called by BPrivate::BTextWidget::StartEdit().
If there was a race condition, setting the pointer to NULL wouldn't
help anyway, as you are just narrowing the window in which the race
can occur.
Hamish
Other related posts: