1
1

Protect the base PTL close against multiple call of close. The problem came mainly from the

fact that we have several PML and that each one will call the PTL close in their own
close function.

This commit was SVN r6360.
Этот коммит содержится в:
George Bosilca 2005-07-06 18:26:16 +00:00
родитель 2f83301c82
Коммит 407b921cc3

Просмотреть файл

@ -59,10 +59,14 @@ int mca_ptl_base_close(void)
}
/* cleanup */
if(NULL != mca_ptl_base_include)
if( NULL != mca_ptl_base_include ) {
free(mca_ptl_base_include);
if(NULL != mca_ptl_base_exclude)
mca_ptl_base_include = NULL;
}
if( NULL != mca_ptl_base_exclude ) {
free(mca_ptl_base_exclude);
mca_ptl_base_exclude = NULL;
}
/* restore event processing */
opal_event_enable();