Skip to content

Commit 38d888b

Browse files
Fix tab changes sometimes causing UI to hang.
1 parent 176b64f commit 38d888b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BabbleApp/camera_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, widget_id: Tab, main_config: BabbleConfig, osc_queue: Queue):
6363
self.capture_event = Event()
6464
self.capture_queue = Queue(maxsize=2)
6565
self.roi_queue = Queue(maxsize=2)
66-
self.image_queue = Queue(maxsize=4)
66+
self.image_queue = Queue(maxsize=500) # This is needed to prevent the UI from freezing during widget changes.
6767

6868
self.babble_cnn = BabbleProcessor(
6969
self.config,

0 commit comments

Comments
 (0)