When I want to quit hexchat, it doesn't end grecefully, but something regarding the Python embedded engine fails. This patch should solve the issue: https://src.fedoraproject.org/rpms/hexchat/blob/master/f/0001-Python-plugin-Call-EndInterpreter-when-deinit-ing-th.patch