graphics() resolve on error (windows)

This commit is contained in:
Sebastian Hildebrandt
2019-05-09 09:58:44 +02:00
parent 0a8651daa0
commit 2b8ed4c502
4 changed files with 10 additions and 1 deletions
+3
View File
@@ -497,6 +497,9 @@ function graphics(callback) {
}
resolve(result);
});
} else {
if (callback) { callback(result); }
resolve(result);
}
});
} catch (e) {