http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252017-10-31T10:54:51ZRedmineWt - Bug #6049: WTimer::singleShot send signal to dead objecthttp://redmine.emweb.be/issues/6049?journal_id=190522017-10-31T10:54:51ZWim Dumonwim@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Hey Drus,</p>
<p>It's not ok to do this. If in doubt about whether your target is still alive, you can use a observing_ptr<>, which can check if the target was deleted.</p>
<p>Best regards,<br><br>
Wim.</p>
Wt - Bug #6049: WTimer::singleShot send signal to dead objecthttp://redmine.emweb.be/issues/6049?journal_id=190632017-10-31T12:59:09ZDrus Korkorostelev1010@gmail.com
<ul></ul><p>Already has look at sources.<br><br>
Need update in function description.<br><br>
I was write own function with parent delete.</p>
<p>thx!</p>
Wt - Bug #6049: WTimer::singleShot send signal to dead objecthttp://redmine.emweb.be/issues/6049?journal_id=190932017-11-02T11:37:46ZRoel Standaertroel@emweb.be
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>InProgress</i></li></ul><p>While your code does not work, it ideally should work. It's actually a regression from Wt 3, since this should really be equivalent to creating a timer and then connecting its <code>timeout()</code> signal, which does work properly in Wt 4. I'll make it so it does what you'd expect.</p>
Wt - Bug #6049: WTimer::singleShot send signal to dead objecthttp://redmine.emweb.be/issues/6049?journal_id=191412017-11-09T09:31:25ZRoel Standaertroel@emweb.be
<ul><li><strong>Status</strong> changed from <i>InProgress</i> to <i>Resolved</i></li></ul><p>I just pushed some changes to GitHub that should fix this.</p>
Wt - Bug #6049: WTimer::singleShot send signal to dead objecthttp://redmine.emweb.be/issues/6049?journal_id=192942017-11-22T13:11:44ZRoel Standaertroel@emweb.be
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>