fix #4546
[oweals/gnunet.git] / src / datastore / perf_datastore_api.c
index 41cac1283872ef6bfcbe0a5a1127b5556245e684..97774198c3b3070d168b555697979d95c0be036e 100644 (file)
@@ -351,11 +351,7 @@ run_continuation (void *cls)
   static struct GNUNET_HashCode key;
   static char data[65536];
   char gstr[128];
-  const struct GNUNET_SCHEDULER_TaskContext *tc;
 
-  tc = GNUNET_SCHEDULER_get_task_context ();
-  if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
-    crc->phase = RP_ERROR;
   ok = (int) crc->phase;
   switch (crc->phase)
   {