Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7553715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:08:10+00:00 2026-05-30T11:08:10+00:00

I encounter a strange issue when closing a PyGTK application. This is the function

  • 0

I encounter a strange issue when closing a PyGTK application. This is the function used to quit the program:

def quit(self, obj=None, event=None):
        gtk.main_quit()
        os._exit(0)

When this function is called, the application’s window remain on screen, but the GUI is frozen. In the terminal emulator I am returned to the prompt line while in the task manager the Python process is still running (using about 900k of RAM memory). I have to kill the python process to make the window dissapear.

What’s happening? I should mention that I use threads and the application creates a HTTP server using SimpleHTTPServer and SocketServer .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:08:11+00:00Added an answer on May 30, 2026 at 11:08 am

    If you use the .serve_forever() method of the SocketServer, you should probably call .shutdown() in quit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to HTTP Post and encounter an strange issue. I have a
Recently, I encountered a very strange issue, this issue only happens in Windows XP
I just encounter a strange problem: var a:ClassA = new ClassA; var b:ClassA =
everyday I encounter a very strange phenomenon. From my university internet connection, sshing to
I've encountered a strange issue with Groovy's (1.7.3) XmlUtil.serialize( GPathResult ) method. It throws
I have encountered a very strange issue. Whenever I use the .NET membership provider
did someone else encounter this problem? I use the methods PopUpManager.createPopUp() and PopUpManager.centerPopUp() to
I encountered a strange issue with one of my arrays. The array looks like
I've encountered a strange issue using CompiledQuery.Compile . When trying to use a static
i have encountered a very strange issue: i use json.dump to write a file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.