Microsoft Visual C++ Runtime Library Error when closing game

Microsoft Visual C++ Runtime Library Error when closing game

I'm having a blast modding Flare thus far, but I am having this issue with one of my custom mods, I get this error message whenever I try to close the game AFTER loading a character: 

The error doesn't occur when I do not load a save file. It also only occurs on my mod (Empyrean Campaign is fine). What is the source of this error? Thanks