Commit c747b1fb authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed segfault when trying to connect to a new port after failed connection to a reserved port

parent 6e525dfe
......@@ -242,7 +242,7 @@ static void disis_netreceive_setport(t_disis_netreceive *x, t_floatarg fportno)
}
clock_unset(x->x_clock);
clock_free(x->x_clock);
//clock_free(x->x_clock);
//delete the msgqueue (if any)
if (x->x_start != NULL) {
......@@ -331,7 +331,7 @@ static void disis_netreceive_setport(t_disis_netreceive *x, t_floatarg fportno)
x->x_nconnections = 0;
x->x_isdeleting = 0;
x->x_clock = clock_new(x, (t_method)disis_netreceive_output);
//x->x_clock = clock_new(x, (t_method)disis_netreceive_output);
clock_delay(x->x_clock, 0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment