Changeset 3a2a0b2 for skype


Ignore:
Timestamp:
2008-02-23T02:24:14Z (17 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
1fb0a30
Parents:
e79a94f
Message:

kill skype on shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    re79a94f r3a2a0b2  
    4545
    4646def eh(type, value, tb):
    47         if type == KeyboardInterrupt:
    48                 sys.exit("Exiting.")
    49         print_exception(type, value, tb)
    50         sys.exit(1)
     47        if type != KeyboardInterrupt:
     48                print_exception(type, value, tb)
     49        gobject.MainLoop().quit()
     50        skype.skype.Client.Shutdown()
     51        sys.exit("Exiting.")
    5152
    5253sys.excepthook = eh
Note: See TracChangeset for help on using the changeset viewer.