Blender Git Commit Log
Git Commits -> Revision 35b8dac
Revision 35b8dac by Willian Padovani Germano (master) May 2, 2006, 02:42 (GMT) |
As mentioned in the pydrivers commit, I had to change the order in exit_usiblender() to finalize Python before main library data was freed. This solved a somewhat specific sigsegv with pydrivers, but as Ken Hughes found out (thanks!) caused one with scripts that called Blender.Exit(). Now running scripts (G.main->script) are freed in BPY_end_python() itself (so before the rest of the library data is freed), before Py_Finalize(). Works fine in all my tests so far. The file script.c should become obsolete with this change (I added a comment about it there). If all is indeed fine, it will be removed later. |
Commit Details:
Full Hash: 35b8dac2ca3bf8b2cdd51c8a7a071321f26753ba
SVN Revision: 7343
Parent Commit: 30f4f3e
Lines Changed: +22, -0