Remove crash library when register/unregister provider.