Skip to content

Commit fc89a62

Browse files
committed
Align callback proof event order
1 parent 98141b7 commit fc89a62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎example/src/main/java/io/tus/java/example/Api2DevdockTusUploadCallbacks.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public void onChunkComplete(long chunkSize, long bytesAccepted, long bytesTotal)
110110
throw new IllegalStateException("upload callbacks TUS upload did not expose a URL");
111111
}
112112

113+
uploader.finish(false);
113114
events.add(Api2DevdockScenario.uploadCallbackEventKey(
114115
callbacks,
115116
callbacks.eventKinds.success

0 commit comments

Comments
 (0)