|
@@ -146,7 +146,7 @@ export class BaseTrack implements IBaseAction, ICustomAction {
|
|
|
}
|
|
|
|
|
|
public endTrack(trackActionName: string, trackActionOption?: TrackActionOption): Promise<XMLHttpRequestResponseType> {
|
|
|
- clearTimeout(this._timeOut);
|
|
|
+ this._timeOut && clearTimeout(this._timeOut);
|
|
|
if (!this._stopTrack) {
|
|
|
const historyPlayload = cloneDeep(this._history.playload);
|
|
|
const trackObj = cloneDeep(trackActionOption);
|