MCPcopy Create free account
hub / github.com/32comic/image2pixel-web / cancelProcessing

Method cancelProcessing

pixelizer.js:1215–1223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1213 }
1214
1215 cancelProcessing() {
1216 if (this.currentWorker) {
1217 this.currentWorker.terminate();
1218 this.currentWorker = null;
1219 }
1220
1221 this.isProcessing = false;
1222 this.hideProgress();
1223 }
1224}
1225
1226// ColorBox类(从main.js复制)

Callers

nothing calls this directly

Calls 1

hideProgressMethod · 0.95

Tested by

no test coverage detected