lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Fabio Mascarenhas wrote:
On Tue, May 20, 2008 at 5:03 AM, Shmuel Zeigerman <shmuz@actcom.co.il <mailto:shmuz@actcom.co.il>> wrote:

    Fabio Mascarenhas wrote:

        Shmuel, the only changes from 2.0.1 to the current CVS are these
        fixes, so feel free to try. :-)


    OK, I felt free and tried :)

    The 4-th test case:
     require"profiler"
     profiler.stop()
     profiler.stop() --> crash here


Sorry, couldn't reproduce this... the code is already guarding against a stop without a start, so it shouldn't matter if you are doing one stop or 10. :-)


I did.

> Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> require"profiler"
> profiler.start()
> profiler.stop()
> profiler.stop()
> profiler.stop()

The amount of "stops" may vary, but the repeated stops only crashed on me after issuing a "start".

Regards,
Ignacio Burgueño