Merge branch 'feature/mobile_with_close_pages' of bitbucket.org:panleicim/puppeteerjs into feature/mobile_with_close_pages
This commit is contained in:
@@ -715,11 +715,13 @@ class CommandorPage {
|
||||
let reserve = ReserveResultPojo.create_from_contact(this.contact, id, url, this.choosedStore, publishType);
|
||||
reserve.source_from = this.device.model();
|
||||
await this.mongoManager.saveReserveToDb(reserve.to_mongo_dict())
|
||||
if (!this.page.isClosed()) {
|
||||
try {
|
||||
await this.page.close();
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
}
|
||||
// await this.deleteFromBlackList()
|
||||
this.isTerminated = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user