Don't instantiate the FacebookDialog too early, especially if you are trying a silent login when starting the app, from an arbitrary thread

This commit is contained in:
Johan Lindfors 2016-10-04 14:40:40 +02:00
Родитель 0c742330e7
Коммит b65f3dcd3a
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -964,7 +964,6 @@ IAsyncOperation<FBResult^>^ FBSession::LoginAsync(
{ {
Permissions = ref new FBPermissions((ref new Vector<String^>())->GetView()); Permissions = ref new FBPermissions((ref new Vector<String^>())->GetView());
} }
_dialog = ref new FacebookDialog();
return create_async([=]() return create_async([=]()
{ {