mono_w32handle_unlock_handle (handle);
MONO_ENTER_GC_SAFE;
- mono_w32handle_unref (handle);
+ mono_w32handle_close (handle);
MONO_EXIT_GC_SAFE;
return(TRUE);
g_warning ("%s: error creating pipe write handle", __func__);
MONO_ENTER_GC_SAFE;
- mono_w32handle_unref (read_handle);
+ mono_w32handle_close (read_handle);
close (filedes[0]);
close (filedes[1]);