If you have used threads in your script /py unload
crashes xchat.
xchat version 2.0.2 (from debian unstable package 2.0.2-1)
python version 2.2.3
to reproduce put the following text in a file called
"boom.py" and load it into xchat followed by an "/py
unload boom":
__module_name__ = "boom"
__module_version__ = "0.0.1"
__module_description__ = "py unload bug"
import xchat
import threading
class thread(threading.Thread):
def run(self):
pass
bobj=thread()
bobj.run()
def unload(userdata):
bobj.join(10)
xchat.hook_unload(unload)
Nobody/Anonymous ( nobody ) - 2003-06-16 13:19
5
Closed
Fixed
Nobody/Anonymous
None
None
Public
|
Date: 2003-06-16 13:22 Logged In: NO |
| Filename | Description | Download |
|---|---|---|
| boom.py | script that causes /py unload bug | Download |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use