Skip to content

Commit f1fa7d8

Browse files
Changed browser kill process to use SIGTERM. Prepared package.json for 1.2.8 release
1 parent 4af8726 commit f1fa7d8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
working_directory: ~/repo
77
steps:
88
- checkout
9-
- run: npm install
9+
- run: npm install && node_modules/.bin/tsc
1010
# run tests!
1111
# - run: npm test
1212
# # store test results

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@researchdatabox/sails-hook-redbox-pdfgen",
3-
"version": "1.2.7",
3+
"version": "1.2.8",
44
"description": "Adds PDF generation functionality for records to ReDBox",
55
"main": "index.js",
66
"sails": {

typescript/api/services/PDFService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export module Services {
150150
} finally {
151151
// clean up in case browser didn't close properly
152152
if (browser && browser.process() != null) {
153-
browser.process().kill('SIGINT');
153+
browser.process().kill('SIGTERM');
154154
}
155155
fs.removeSync(tmpUserDataDir, { recursive: true });
156156
}

0 commit comments

Comments
 (0)