Page MenuHome

BGE clear sys.meta_path on exit
Closed, ResolvedPublic

Description

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

Revisions and Commits

Event Timeline

Angus Hollands (agoose77) raised the priority of this task from to 90.
Angus Hollands (agoose77) updated the task description. (Show Details)
Angus Hollands (agoose77) edited a custom field.

NOTE, this only applies to the embedded player

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?

Sergey Sharybin (sergey) lowered the priority of this task from 90 to Normal.Dec 15 2015, 10:10 AM