質問編集履歴

1

修正

2021/08/03 11:33

投稿

person
person

スコア223

test CHANGED
File without changes
test CHANGED
@@ -32,11 +32,7 @@
32
32
 
33
33
  def on_button():
34
34
 
35
- global threads
36
-
37
35
  thread = threading.Thread(target=control_task)
38
-
39
- threads.append(thread)
40
36
 
41
37
  thread.start()
42
38
 
@@ -144,8 +140,6 @@
144
140
 
145
141
  if __name__ == "__main__":
146
142
 
147
- threads = []
148
-
149
143
  root = tk.Tk()
150
144
 
151
145