Browse files

dummy 'destructor' for cbc io_opts

  • Loading branch information...
1 parent dded9e6 commit 532f92ec4a253dd41685ae99d8f1ab21be1626fa @mnunberg committed Jan 29, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 async_events.c
View
6 async_events.c
@@ -298,6 +298,11 @@ static void stop_event_loop(plcba_cbcio *cbcio)
call_sv(async->cv_waitdone, G_DISCARD|G_NOARGS);
}
+static void destructor(plcba_cbcio *cbcio)
+{
+ /*noop*/
+}
+
plcba_cbcio *
plcba_make_io_opts(PLCBA_t *async)
@@ -322,6 +327,7 @@ plcba_make_io_opts(PLCBA_t *async)
cbcio->run_event_loop = run_event_loop;
cbcio->stop_event_loop = stop_event_loop;
+ cbcio->destructor = destructor;
return cbcio;
}

0 comments on commit 532f92e

Please sign in to comment.