IvanLatysh wrote:
I have a singleton which returns one Driver all the time.

This is not a good idea. It is better to use a new Driver every time because, as you experienced, reset() isn't reliable.

it is dramatically decreasing performance.

This is almost certainly an overstatement. Do you have measurements on how much using a new Driver decreases overall performance (including rendering) compared to resetting an used Driver object?

By the way driver.reset() does not reset the Renderer.

Bug #1859. BTW it's the renderer which keeps references to your image, not the image cache (after resetting it).


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to