Include pixelworks and terminate workers before creating new ones

This commit is contained in:
Tim Schaub
2020-05-16 21:33:39 -06:00
parent bfc035415e
commit b16c2e0062
6 changed files with 660 additions and 19 deletions
+4 -4
View File
@@ -11,17 +11,17 @@ class Disposable {
/**
* The object has already been disposed.
* @type {boolean}
* @private
* @protected
*/
this.disposed_ = false;
this.disposed = false;
}
/**
* Clean up.
*/
dispose() {
if (!this.disposed_) {
this.disposed_ = true;
if (!this.disposed) {
this.disposed = true;
this.disposeInternal();
}
}