Menu ▾ ▴

#15 open() from run()

open
Renderer (20)
1
2001-08-27
2001-08-27
No

It is possible to try and open the screen from run()
when the bloody thing is already open (excuse my
french). Return false or throw an assertion if this is
attempted in debug code. If not debug then it's their
own silly fault the thing acts up.

:)

Discussion

  • Bryon Hapgood

    Bryon Hapgood - 2001-08-27

    Logged In: YES
    user_id=120775

    > This bug comes from the fact that open() in an earlier
    incarnation returned a THREAD pointer. This became moot
    sometime after given the addition of the THREAD conversion
    operator. Thus the bug was born. To fix it simply return
    false (xor eax,eax) if the screen is already open.

     
  • Bryon Hapgood

    Bryon Hapgood - 2001-08-27
    • priority: 3 --> 1
     

Log in to post a comment.