tracker check restarting status
This commit is contained in:
parent
dbd065aec7
commit
4d1350a770
3 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
# 14.0.7
|
||||||
|
|
||||||
|
- check for stopping status during restarts
|
||||||
|
|
||||||
# 14.0.6
|
# 14.0.6
|
||||||
|
|
||||||
- support feature off toggle for feature flags and usability testing
|
- support feature off toggle for feature flags and usability testing
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@openreplay/tracker",
|
"name": "@openreplay/tracker",
|
||||||
"description": "The OpenReplay tracker main package",
|
"description": "The OpenReplay tracker main package",
|
||||||
"version": "14.0.6",
|
"version": "14.0.7-beta.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"logging",
|
"logging",
|
||||||
"replay"
|
"replay"
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ function reset(): Promise<any> {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initiateRestart(): void {
|
function initiateRestart(): void {
|
||||||
if (workerStatus === WorkerStatus.Stopped) return
|
if ([WorkerStatus.Stopped, WorkerStatus.Stopping].includes(workerStatus)) return
|
||||||
postMessage('a_stop')
|
postMessage('a_stop')
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
reset().then(() => {
|
reset().then(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue