Closed jawa0 closed 1 year ago
Starts beach-balling. Interrupting it gives this trace-back:
^C^C^CTraceback (most recent call last): File "/Users/jaba/devel/aish3-public/aish3.py", line 142, in run(args.fullscreen, args.width, args.height) File "/Users/jaba/devel/aish3-public/aish3.py", line 122, in run draw_text(renderer, font_manager, fps_str, width - 100, 10) File "/Users/jaba/devel/aish3-public/draw.py", line 66, in draw_text text_texture = sdl2.SDL_CreateTextureFromSurface(renderer.sdlrenderer, text_surface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Resource leak: wasn't freeing some surfaces and textures
Starts beach-balling. Interrupting it gives this trace-back:
^C^C^CTraceback (most recent call last): File "/Users/jaba/devel/aish3-public/aish3.py", line 142, in
run(args.fullscreen, args.width, args.height)
File "/Users/jaba/devel/aish3-public/aish3.py", line 122, in run
draw_text(renderer, font_manager, fps_str, width - 100, 10)
File "/Users/jaba/devel/aish3-public/draw.py", line 66, in draw_text
text_texture = sdl2.SDL_CreateTextureFromSurface(renderer.sdlrenderer, text_surface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^