[Gambas-user] Bug with process events?

Tobias Boege taboege at ...626...
Mon Dec 9 19:32:19 CET 2013


On Mon, 09 Dec 2013, Jussi Lahtinen wrote:
> Can someone try to reproduce this with other system?
> 
> Jussi
> 
> 
> On Sun, Dec 8, 2013 at 7:18 PM, Jussi Lahtinen <jussi.lahtinen at ...626...>wrote:
> 
> > Oh sorry, problem occurs with Gambas 3 rev 5988 on Xubuntu 13.04 64bit.
> >
> > Jussi
> >
> >
> > On Sun, Dec 8, 2013 at 7:06 PM, Jussi Lahtinen <jussi.lahtinen at ...626...>wrote:
> >
> >> See attached project. If event is raised something corrupts/event is
> >> missed.
> >>
> >>
> >> Jussi
> >>
> >

Although I don't know what you expect me to report, I get exactly one line
asking "what went wrong".

I attached a patch that fixes this without having to comment the Raise line
out. Seems like Raise is taken by the interpreter as an opportunity to
process pending events? I don't know.

Regards,
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProcessEventBug-0.0.1~ProcessEventBug-0.0.1.patch
Type: text/x-diff
Size: 423 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20131209/38f03aeb/attachment.patch>


More information about the User mailing list