return data is put into the queue. Refs #18583
This commit is contained in:
parent
90543493ca
commit
8e0d1a9281
3
main.py
3
main.py
|
@ -587,6 +587,9 @@ def threaded_image_builder(data, reference_profile, dataQueue, settings = dict()
|
||||||
return_data['kivy_image'] = kivy.core.image.Image(image_bytes, ext = 'png')
|
return_data['kivy_image'] = kivy.core.image.Image(image_bytes, ext = 'png')
|
||||||
Logger.debug('threaded_image_builder: Took ' + str(time.time() - start) + ' seconds to manipulate image data')
|
Logger.debug('threaded_image_builder: Took ' + str(time.time() - start) + ' seconds to manipulate image data')
|
||||||
dataQueue.put_nowait(return_data)
|
dataQueue.put_nowait(return_data)
|
||||||
|
# Destroy the created figure to prevent hogging memory.
|
||||||
|
# @see https://redmine.koumbit.net/issues/18583
|
||||||
|
figure.clear()
|
||||||
|
|
||||||
|
|
||||||
def init_plot(settings = dict()):
|
def init_plot(settings = dict()):
|
||||||
|
|
Loading…
Reference in New Issue