/[weechat]/weechat/src/plugins/scripts/python/weechat-python.c
ViewVC logotype

Diff of /weechat/src/plugins/scripts/python/weechat-python.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by flashcode, Sun Oct 16 15:39:20 2005 UTC revision 1.3 by flashcode, Sun Oct 16 17:38:50 2005 UTC
# Line 854  weechat_plugin_end (t_weechat_plugin *pl Line 854  weechat_plugin_end (t_weechat_plugin *pl
854      weechat_python_unload_all (plugin);      weechat_python_unload_all (plugin);
855            
856      /* free Python interpreter */      /* free Python interpreter */
857      /*Py_Finalize ();      if (python_mainThreadState != NULL)
858        {
859            PyThreadState_Swap (python_mainThreadState);
860            python_mainThreadState = NULL;
861        }
862        Py_Finalize ();
863      if (Py_IsInitialized () != 0)      if (Py_IsInitialized () != 0)
864          python_plugin->printf_server (python_plugin,          python_plugin->printf_server (python_plugin,
865                                        "Python error: unable to free interpreter");                                        "Python error: unable to free interpreter");
866            
867      python_plugin->printf_server (python_plugin,      python_plugin->printf_server (python_plugin,
868      "Python plugin ended");*/                                    "Python plugin ended");
869  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26