CB-8758 [wp8]: UnauthorizedAccessException on hide()
authorDan Polivy <dan@cellartracker.com>
Thu, 26 Mar 2015 18:52:10 +0000 (11:52 -0700)
committersgrebnov <v-segreb@microsoft.com>
Sat, 25 Apr 2015 21:32:17 +0000 (14:32 -0700)
commit62e92afae80c648a8018bde4e2b71a1ebe8de1d9
treed56ea9903160445b6c7b64396f4d47933eb100e2
parentfa60f01adcba2d21583de7972a0facc4da1eb75e
CB-8758 [wp8]: UnauthorizedAccessException on hide()

When calling hide() from JS, the attempt to access Popup could happen on
a background thread, which ends up throwing an
UnauthorizedAccessException about cross-thread access.

To address this, it's best to check the popup's state from within the UI
thread.

Fixes https://issues.apache.org/jira/browse/CB-8758
src/wp/SplashScreen.cs