return data is put into the queue. Refs #18583

This commit is contained in:
Kienan Stewart 2015-11-02 21:37:52 -05:00
parent 90543493ca
commit 8e0d1a9281
1 changed files with 3 additions and 0 deletions

View File

@ -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')
Logger.debug('threaded_image_builder: Took ' + str(time.time() - start) + ' seconds to manipulate image 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()):