On Wednesday, 29 May 2013 at 10:33:32 UTC, deadalnix wrote: > On Wednesday, 29 May 2013 at 07:32:42 UTC, Jeremy DeHaan wrote: >> Thoughts? > > static variables are thread local. Are you sure the destructor > run in the same thread as the constructor ? Either way "remove" should simply fail not give a memory error.