define sessionId
This commit is contained in:
parent
f4817dad4d
commit
3d7d7cf41e
1
react-native/src/index.js
vendored
1
react-native/src/index.js
vendored
|
@ -672,6 +672,7 @@ export class AbstractSession extends Session {
|
||||||
* Cancels running the session.
|
* Cancels running the session.
|
||||||
*/
|
*/
|
||||||
cancel() {
|
cancel() {
|
||||||
|
const sessionId = this.getSessionId();
|
||||||
if (sessionId === undefined) {
|
if (sessionId === undefined) {
|
||||||
return FFmpegKitReactNativeModule.cancel();
|
return FFmpegKitReactNativeModule.cancel();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user