Skip to content

Commit

Permalink
Update IoBindingImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzawa-san committed Jan 6, 2024
1 parent acc16b7 commit 58f3edb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/jyuzawa/onnxruntime/IoBindingImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.lang.foreign.MemoryAddress;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.MemorySession;
import java.lang.foreign.SegmentAllocator;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
Expand All @@ -24,7 +23,7 @@ final class IoBindingImpl implements IoBinding {
private final MemoryAddress session;

IoBindingImpl(Builder builder) {
// NOTE: this is shared since we want to allow closing from another thread.
// NOTE: this is shared since we want to allow closing from another thread.
this.memorySession = MemorySession.openShared();
this.api = builder.api;
this.session = builder.session.address();
Expand Down

0 comments on commit 58f3edb

Please sign in to comment.