I have a library that requires manual initialization and destruction, and I'd like to make that process automatic. Since both the init and quit functions should only be called once I thought a good solution would be to use a singleton, but since calling I have a library that requires manual initializ