X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FBackgroundProcessor.java;h=e66111bf2497de877dfbb1a4caf2d89874a0bce7;hb=d87886bb194886ef86d3597a5cdc142b6ccc89e9;hp=a080a03851d6e88e7c775b3e7a4bd2158c1bb4b1;hpb=9629082ebac55e5d0efea17ec4fb37580c08fa7a;p=ldk-java diff --git a/src/main/java/org/ldk/structs/BackgroundProcessor.java b/src/main/java/org/ldk/structs/BackgroundProcessor.java index a080a038..e66111bf 100644 --- a/src/main/java/org/ldk/structs/BackgroundProcessor.java +++ b/src/main/java/org/ldk/structs/BackgroundProcessor.java @@ -126,7 +126,7 @@ public class BackgroundProcessor extends CommonBase { // However, in some cases (eg here), there is no way to clone an object, and thus // we actually have to pass full ownership to Rust. // Thus, after this call, this is reset to null and is now a dummy object. - this.ptr = 0; + this.ptr = 0;; return ret_hu_conv; } @@ -154,7 +154,7 @@ public class BackgroundProcessor extends CommonBase { // However, in some cases (eg here), there is no way to clone an object, and thus // we actually have to pass full ownership to Rust. // Thus, after this call, this is reset to null and is now a dummy object. - this.ptr = 0; + this.ptr = 0;; return ret_hu_conv; }