From b190744b77dc51d213d7860819a58cbc20f6f9bb Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 25 Sep 2013 09:20:20 +0200 Subject: [PATCH] on kFreeBSD python atexit will make mess, disable it for now --- plugins/python/python_plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index aeaa9eb6..acba17ac 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -308,6 +308,10 @@ realstuff: // this time we use this higher level function // as this code can be executed in a signal handler +#ifdef __FreeBSD_kernel__ + return; +#endif + if (!Py_IsInitialized()) { return; }