The language is Crystal which is still a very young language. It does not have threading at this time so there should be no issues with mutexes. While writing the code I never opened up a database but did repeatedly open up the environment and if the app ran into an error while coding didn't properly close the environment.
Howard while I have you on the line....
The documentation says to be very careful about closing databases and says it's not normally necessary. I am going to omit those calls from my wrapper. Is this OK? I will probably omit a bunch of other calls too at least from the first release but I want to make sure I don't omit anything crucial.
Thanks.