Clear the wrapper cache after the flush event is done
Merge pull request #1057 from captolia/master

Clear the wrapper cache after the flush event is done