Only garbage collect the factory or provider factory if the
InternalProvider is not releasable. Otherwise, after being released
the provider will not have a factory available to re-create the
instance.
Coverage increased (+0.008%) to 95.583% when pulling a1817c5cac9055c900dfece383fde60275d0519f on 51systems:release_cleanup into b13c9062d1b1cac010f163028ce7e97df8272070 on stephanenicolas:master.
Only garbage collect the factory or provider factory if the InternalProvider is not releasable. Otherwise, after being released the provider will not have a factory available to re-create the instance.
Fixes #398