stop first

This commit is contained in:
soulgalore 2017-12-13 10:19:25 +01:00
parent d467a12837
commit ed8b31e872
1 changed files with 1 additions and 1 deletions

View File

@ -31,9 +31,9 @@ function runWebPageReplay() {
# Inspired by docker-selenium way of shutting down
function shutdown {
webpagereplaywrapper replay --stop $WPR_PARAMS
kill -s SIGTERM ${PID}
wait $PID
webpagereplaywrapper replay --stop $WPR_PARAMS
}
LATENCY=${LATENCY:-100}