* guard against undefined SessionRemoveAllPlayTracks
This commit is contained in:
parent
e503287400
commit
0132fa38b0
|
|
@ -1464,7 +1464,10 @@
|
|||
|
||||
// make sure no previous plays are still going on by accident
|
||||
context.jamClient.SessionStopPlay();
|
||||
context.jamClient.SessionRemoveAllPlayTracks();
|
||||
if(context.jamClient.SessionRemoveAllPlayTracks) {
|
||||
// upgrade guard
|
||||
context.jamClient.SessionRemoveAllPlayTracks();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue