Resolves #142 Garbage collect peer objects
Does not used shared ptrs due to complexity of threading situation. Instead peer objects are garbage collected only when all thread jobs are idle to ensure no other thread is possibly using the object.
Does not used shared ptrs due to complexity of threading situation. Instead peer objects are garbage collected only when all thread jobs are idle to ensure no other thread is possibly using the object.