On exit, the Python meta_path is currently not cleared, so libraries using import hooks can get into trouble.
A workaround at the moment is to add a callback to bpy.app.handlers.game_post
On exit, the Python meta_path is currently not cleared, so libraries using import hooks can get into trouble.
A workaround at the moment is to add a callback to bpy.app.handlers.game_post
| rB Blender | |||
| rBdf6264f528ea Fix T46959: sys.meta_path reset on on exit | |||
This is modification of a global scope, which is not being backed up or so. IMO, this is up to the developers not to do such changes.
@Campbell Barton (campbellbarton), any other feedback here?