Prevent segfault when start a RAIL remote Application
Merge pull request #1249 from Nigel62/master

Prevent segfault when starting a RAIL remoteApp