Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertisement monitor form application crash ... repeatable #74

Open
KarlBrennan opened this issue Dec 31, 2022 · 0 comments
Open

Advertisement monitor form application crash ... repeatable #74

KarlBrennan opened this issue Dec 31, 2022 · 0 comments

Comments

@KarlBrennan
Copy link

Every time i switch between active and passive states (or vica versa) the application crashes. This happens no matter whether I stop the search activity or not,

The error is as follows
File Advertisement_viewmodel.cs
Namespace BluetoothLEExplorer.ViewModels
Function private void Advertisements_MapChanged(Windows.Foundation.Collections.IObservableMap<string, ObservableBluetoothLEAdvertisement> sender, Windows.Foundation.Collections.IMapChangedEventArgs @event)
Line 253 foreach (var advertisement in AdvertisementsView)
error message is
System.InvalidOperationException
HResult=0x80131509
Message=Collection was modified; enumeration operation may not execute.
Source=
StackTrace:

I am running the application in debug on a windows 10 22H2 OS. previously I used the store app with the same behaviour/result.
Should you need any more information please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant