Browse Source

Avoid calling unregistration hook twice if it triggered some data management that kept a busy reference

Samuel Thibault 6 years ago
parent
commit
e8470f01d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/datawizard/interfaces/data_interface.c

+ 1 - 0
src/datawizard/interfaces/data_interface.c

@@ -889,6 +889,7 @@ retry_busy:
 	if (handle->unregister_hook)
 	{
 		handle->unregister_hook(handle);
+		handle->unregister_hook = NULL;
 	}
 
 	/* Wait for finished requests to release the handle */