fix to too many processes
This commit is contained in:
@@ -1749,8 +1749,6 @@ class ParamSection(QWidget):
|
||||
self.dependencies = []
|
||||
self.selected_path = None
|
||||
|
||||
# Load the mne data in a seperate process
|
||||
self.file_executor = concurrent.futures.ProcessPoolExecutor(max_workers=1)
|
||||
|
||||
# Title label
|
||||
title_label = QLabel(section_data["title"])
|
||||
@@ -4616,6 +4614,9 @@ class MainApplication(QMainWindow):
|
||||
self.setWindowTitle(f"{APP_NAME.upper()}")
|
||||
self.setGeometry(100, 100, 1280, 720)
|
||||
|
||||
# Load the mne data in a seperate process
|
||||
self.file_executor = concurrent.futures.ProcessPoolExecutor(max_workers=1)
|
||||
|
||||
self.about = None
|
||||
self.help = None
|
||||
self.optodes = None
|
||||
|
||||
Reference in New Issue
Block a user