2 Commits
v1.1.0 ... dev

Author SHA1 Message Date
1b2324a080 Ignore pycache and temp files 2021-06-23 05:47:29 -07:00
80253ebcb2 Throw an RAII lock around the conveyor to avoid a race condition 2020-08-02 07:12:36 -07:00
2 changed files with 9 additions and 1 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
**/__pycache__/
*~

View File

@ -105,7 +105,8 @@ class TextCanvas:
# So far simply does maintenance once per second # So far simply does maintenance once per second
while self.__conveyor_enabled is True: while self.__conveyor_enabled is True:
self.__fps_samples.append(0) with RAIILock(self.__lock):
self.__fps_samples.append(0)
time.sleep(1) time.sleep(1)