fix race condition when updating connection address
This commit is contained in:
Родитель
363ae14438
Коммит
46bf7b751f
|
@ -646,9 +646,16 @@ namespace HoloLensCommander
|
|||
// Was this the first time we received a heartbeat?
|
||||
if (!this.firstContact)
|
||||
{
|
||||
// Update the device address display.
|
||||
this.Address = this.deviceMonitor.Address;
|
||||
((DeviceMonitorControlViewModel)(this.deviceMonitorControl.DataContext)).Address = this.Address;
|
||||
|
||||
// Cause common apps to be refreshed.
|
||||
this.deviceMonitorControl.NotifySelectedChanged();
|
||||
this.firstContact = true;
|
||||
|
||||
// Re-save the collection...
|
||||
this.deviceMonitorControl.NotifyTagChanged();
|
||||
}
|
||||
|
||||
// Update the UI
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<PackageCertificateKeyFile>HoloLensCommander_TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<AppxBundlePlatforms>x86</AppxBundlePlatforms>
|
||||
<AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>
|
||||
<PackageCertificateThumbprint>A4B49ABD7F86BC59443864123563E3BB0CCBC3A9</PackageCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
|
||||
<Identity Name="HoloLensCommander" Publisher="CN=HoloLensCommander" Version="2.1706.0.0" />
|
||||
<Identity Name="HoloLensCommander" Publisher="CN=HoloLensCommander" Version="2.1706.2.0" />
|
||||
<mp:PhoneIdentity PhoneProductId="2ddfe2f3-79a6-4751-9a5c-56c49317682a" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
|
||||
<Properties>
|
||||
<DisplayName>Windows Mixed Reality Commander</DisplayName>
|
||||
|
|
|
@ -25,8 +25,8 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.1706.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.1706.0.0")]
|
||||
[assembly: AssemblyVersion("2.1706.1.0")]
|
||||
[assembly: AssemblyFileVersion("2.1706.1.0")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: NeutralResourcesLanguage("en-US")]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче