Skip to content

Commit

Permalink
Fix 144
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Mar 18, 2016
1 parent 2070739 commit 21df233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iosrtcPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ class iosrtcPlugin : CDVPlugin {
NSLog("iosrtcPlugin#MediaStreamTrack_stop()")

let id = command.argumentAtIndex(0) as! String
weak var pluginMediaStreamTrack = self.pluginMediaStreamTracks[id]
let pluginMediaStreamTrack = self.pluginMediaStreamTracks[id]

if pluginMediaStreamTrack == nil {
NSLog("iosrtcPlugin#MediaStreamTrack_stop() | ERROR: pluginMediaStreamTrack with id=\(id) does not exist")
Expand Down Expand Up @@ -692,7 +692,7 @@ class iosrtcPlugin : CDVPlugin {
NSLog("iosrtcPlugin#MediaStreamRenderer_close()")

let id = command.argumentAtIndex(0) as! Int
weak var pluginMediaStreamRenderer = self.pluginMediaStreamRenderers[id]
let pluginMediaStreamRenderer = self.pluginMediaStreamRenderers[id]

if pluginMediaStreamRenderer == nil {
NSLog("iosrtcPlugin#MediaStreamRenderer_close() | ERROR: pluginMediaStreamRenderer with id=\(id) does not exist")
Expand Down

0 comments on commit 21df233

Please sign in to comment.