Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server.close_all() freeze the whole application #577

Closed
GianptDev opened this issue Jun 13, 2022 · 1 comment
Closed

server.close_all() freeze the whole application #577

GianptDev opened this issue Jun 13, 2022 · 1 comment

Comments

@GianptDev
Copy link

System: Linux Mint 20.4
Python 3.10.5

I've made a gui application for a simple ftp interface, the application run the server inside a thread.
This is the code of the button:

def stop_server(self) -> None:
	server = self.server
	self.server = None

	server.close_all()
	self.server_thread.join()
	
	self.server_thread = None

If I execute this script on windows and i press the button it will work normally.
If I execute this script on Mint it will freeze the whole application.

@giampaolo
Copy link
Owner

Closing as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants