Stop UI from updating during rendering?

Hi, can anyone think of a way to stop the UI redrawing when in the render_init and render_complete handlers? The render.use_lock_interface is ignored by those handlers, which is resulting in a lot of ACCESS VIOLATION errors due to those handlers not executing on the main thread.

Perhaps there’s an alternative to force no-redraw temporarily?

I’ve create a bug report with example file regarding use_lock_interface not being respected by all render handlers (and any other handlers that may live on a different thread):