I have a Tkinter
app. Two of the buttons in the UI code call other class functions. I start a thread for each of them like so:
t = threading.Thread(target=self.classOne.method_one())
t.daemon = True
t.start()
And again for the second class method.
The second thread I start calls a resource intensive method and this freezes the app.
Is the reason it is freezing because I have not properly set up the threads? And should I be explicitly closing the threads?