Actions
Support #574
closedWTimer and browser refresh button
Start date:
10/26/2010
Due date:
% Done:
0%
Estimated time:
Description
Hello,
I have a trouble with Client-side events managed by a WTimer object configured in this way:
Wt::WTimer *myTimer = new Wt::WTimer(root());
myTimer->setInterval(1000);
myTimer->timeout().connect(main, &MyWidget::myClockSlot);
myTimer->start();
The problem is: all goes OK until I hit the "refresh" button on the browser,
then the timer stops emitting signals and "myClockSlot" is no more called.
I am using wthttpd server, with
URL
and
false
Could someone help me finding what is wrong?
Thank you very much
Enrico
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
Hey Enrico,
That definitely sounds like a bug in refresh() not restoring the timers.
Regards,
koen
Updated by Koen Deforche over 13 years ago
- Status changed from InProgress to Resolved
Fixed in latest git.
Actions