Lines 402-408
Link Here
|
402 |
/* Lock xs_status and stop playing thread */ |
402 |
/* Lock xs_status and stop playing thread */ |
403 |
XS_MUTEX_LOCK(xs_status); |
403 |
XS_MUTEX_LOCK(xs_status); |
404 |
|
404 |
|
405 |
if (! xs_status.stop_flag) |
405 |
if ((! xs_status.stop_flag) && (pb != NULL)) |
406 |
{ |
406 |
{ |
407 |
XSDEBUG("stopping...\n"); |
407 |
XSDEBUG("stopping...\n"); |
408 |
xs_status.stop_flag = TRUE; |
408 |
xs_status.stop_flag = TRUE; |