On Mon, Sep 26, 2016 at 01:29:58PM +0800, Lin Ma wrote:
> if iothread->ctx is set to NULL, aio_context_unref triggers the assertion:
> g_source_unref: assertion 'source != NULL' failed.
> The patch fixes it.
>
> Signed-off-by: Lin Ma
> ---
> iothread.c | 3 +++
> 1 file changed, 3 insertions(+)
On 26/09/2016 07:29, Lin Ma wrote:
> if iothread->ctx is set to NULL, aio_context_unref triggers the assertion:
> g_source_unref: assertion 'source != NULL' failed.
> The patch fixes it.
>
> Signed-off-by: Lin Ma
> ---
> iothread.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/i
if iothread->ctx is set to NULL, aio_context_unref triggers the assertion:
g_source_unref: assertion 'source != NULL' failed.
The patch fixes it.
Signed-off-by: Lin Ma
---
iothread.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/iothread.c b/iothread.c
index fb08a60..fbeb8de 100644
---