[gcompris-devel] algebra_guest cleanup

Bruno Coudoin bruno.coudoin at free.fr
Mon Dec 24 06:23:01 UTC 2001


I don't know for your problem, but there is also a bug that appears when
you quit a board while the bonus is playing.
You can end up having the flower being refresshed every 2 seconds in the
menu board.
I made it happens in missingletter by clicking fast on quit after ok.
To me, we should set to null gcomprisBoard struct in our boards after
end is called.
I am currently testing if this could solve the issue.

Bruno.


le lun 24-12-2001 à 14:42, pgeorges a écrit :
> Bruno Coudoin a écrit :
> > 
> > Pascal,
> > I checked algebra_guest and I removed your extra 'return' in the pixmap
> > freeing code without any crash.
> > To me, your code is correct. May it be that you observed another problem?
> 
> I managed to crash gcompris by playing several times in
> algebra_guesscount (finishing the board, reentering again ...), when I
> shunt the unref'ing of pixmaps, it does not crash. I don't know where is
> the bug, may be it is a side effect, where the bug is outside my board,
> I don't know.
> 
> Pascal
> 
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel






More information about the Gcompris-devel mailing list