Merge pull request #209 from cewert/fix-exit-video-crash
Fix for crash when exiting a video
This commit is contained in:
commit
79e47668b1
|
@ -41,9 +41,9 @@ sub Main()
|
||||||
input = CreateObject("roInput")
|
input = CreateObject("roInput")
|
||||||
input.SetMessagePort(m.port)
|
input.SetMessagePort(m.port)
|
||||||
|
|
||||||
di = CreateObject("roDeviceInfo")
|
m.device = CreateObject("roDeviceInfo")
|
||||||
di.setMessagePort(m.port)
|
m.device.setMessagePort(m.port)
|
||||||
di.EnableScreensaverExitedEvent(true)
|
m.device.EnableScreensaverExitedEvent(true)
|
||||||
|
|
||||||
' This is the core logic loop. Mostly for transitioning between scenes
|
' This is the core logic loop. Mostly for transitioning between scenes
|
||||||
' This now only references m. fields so could be placed anywhere, in theory
|
' This now only references m. fields so could be placed anywhere, in theory
|
||||||
|
|
Loading…
Reference in New Issue
Block a user