Skip to content

Commit

Permalink
fix EventAggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
tibel committed Apr 23, 2015
1 parent 904cf92 commit 7214e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
10 changes: 2 additions & 8 deletions nuget/Caliburn.Light.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Caliburn.Light</id>
<title>Caliburn.Light</title>
<version>1.8.0</version>
<version>1.8.1</version>
<authors>Thomas Ibel</authors>
<description>The magic-free Caliburn.Light, a powerful framework designed for building applications across current XAML platforms.</description>
<language>en-US</language>
Expand All @@ -12,13 +12,7 @@
<iconUrl>https://github.com/tibel/Caliburn.Light/raw/master/logo.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
- View-Model first: Bind before setting content
- [Universal] add DataTrigger
- change EventAggregator to work without Reflection
- [WPF] better fallback for active window
- remove WP8 and use NET451
- [WPF] don't create Dispatcher upfront
- hide UI scheduler
- fix EventAggregator
</releaseNotes>
<copyright>Copyright Thomas Ibel 2014-2015</copyright>
<tags>Caliburn MVVM WPF WIN81 WPA81 Screen Coroutine EventAggregator Behavior Model-View-ViewModel Presentation UI ViewModel Phone IoC Validation Command Async</tags>
Expand Down
3 changes: 1 addition & 2 deletions src/Caliburn.Core/EventAggregator/EventAggregator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ public void Publish(object message)
lock (_handlers)
{
_handlers.RemoveAll(h => h.IsDead);
var messageType = message.GetType();
selectedHandlers = _handlers.FindAll(h => h.CanHandle(messageType));
selectedHandlers = _handlers.FindAll(h => h.CanHandle(message));
}

if (selectedHandlers.Count == 0) return;
Expand Down
2 changes: 1 addition & 1 deletion src/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#endif

[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.1.0")]

0 comments on commit 7214e88

Please sign in to comment.