]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/libjorte/JORTESubscriptionDestroy.c
JORTE: document hack that 'bypasses' erratic bug in liborte
[orte.git] / orte / libjorte / JORTESubscriptionDestroy.c
index d499f6801da2c19b79402f11311e676fb8a1dd0c..f3ce893e2371e5fb04365ac28cb80965ca295aae 100644 (file)
@@ -88,8 +88,12 @@ Java_org_ocera_orte_Subscription_jORTESubscriptionDestroy
     if (h) {
       //JavaVM *jvm;
       //jint ret;
+
+      /* HACK */
       JORTECallbackContext_t *ctx = *((JORTECallbackContext_t **)h);
       *((JORTECallbackContext_t **)h) = 0;
+      /**/
+
       if (ctx->obj) {
        #ifdef TEST_STAGE
        printf(":c: deleting ctx->obj \n");