I pushed a small patch to try to avoid executing the callback after python has been finalized. It's not thread-safe but it's the best handle I could see. The only thread-safe approach I can see is not register an exit handler in the first place. --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/329#issuecomment-176379454 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1