Fixed issue where game thread wasnt updating correctly on thread
This commit is contained in:
parent
46f445810a
commit
5c5d116056
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -112,7 +112,6 @@ class TetrisGame(tk.Canvas):
|
|||
else:
|
||||
self.move_piece(1, 0)
|
||||
self.render()
|
||||
self.after(500, self.update_game)
|
||||
|
||||
def render(self):
|
||||
self.delete("all")
|
||||
|
|
|
@ -74,10 +74,6 @@ class ThreadsManager:
|
|||
break
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def update_system_metric(self, metric):
|
||||
"""Actualiza una métrica específica del monitor del sistema."""
|
||||
while self.system_monitor_tasks[metric].running:
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue