diff --git a/TODO v2.0 b/TODO v2.0 index a06f2756..0c285e62 100644 --- a/TODO v2.0 +++ b/TODO v2.0 @@ -4,6 +4,7 @@ Things with not so deep knowledge needed are marekd wiht "(Easy for contribution General: - implement onScreenUpdate commands read highlighted text mode +- Migrate *Data.py to classes and use getter/setter - try to make it more asynchronus with multpible threads - be more event based (vcsa sets POLLPRI) http://scotdoyle.com/python-epoll-howto.html diff --git a/src/fenrir/core/eventManager.py b/src/fenrir/core/eventManager.py index 945c6a16..1861dca7 100644 --- a/src/fenrir/core/eventManager.py +++ b/src/fenrir/core/eventManager.py @@ -97,9 +97,9 @@ class eventManager(): self._mainLoopRunning.value = 1 if multiprocess: t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs)) + self._eventProcesses.append(t) else:# thread not implemented yet t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs)) - self._eventProcesses.append(t) t.start() def cleanEventQueue(self): if self._eventQueue.empty():