[Vortex] Async Queue Problem

Robert M. Münch robert.muench at robertmuench.de
Mon Nov 10 10:53:19 CET 2008

Am 09.11.2008, 16:02 Uhr, schrieb Robert M. Münch <robert.muench at robertmuench.de>:

> VortexAsyncQueue *queue = vortex_channel_get_data(used_ft_channel,"queue");
> odprintf("xp_request_file: sync queue pointer = %p", queue);
> vortex_async_queue_pop(queue);
> odprintf("xp_request_file: sync queue poped");
> vortex_async_queue_unref(queue);
> odprintf("xp_request_file: sync queue unrefed");

Hi, ok got it. The call to vortex_async_queue_unref is wrong at this place. This will reduce the ref counting to 0 which than deallocates the queue. This call needs to be moved somewhere else. Robert

More information about the Vortex mailing list