Make genbindings.sh only build one of java/wasm, test wasm in CI
[ldk-java] / ts / structs / EventHandler.ts
index a9d0ee47ebf0cc2879f47a8ded2fc4267f7fe9bd..9179c447bc122a1d0ce91ad05fac42bbdd2333ac 100644 (file)
@@ -53,7 +53,6 @@ import * as bindings from '../bindings' // TODO: figure out location
             }
        public void handle_event(Event event) {
                bindings.EventHandler_handle_event(this.ptr, event == null ? 0 : event.ptr & ~1);
-               this.ptrs_to.add(event);
        }
 
 }