Skip to content

Commit

Permalink
Fixed bug with Include Filters
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentparrett committed Nov 30, 2021
1 parent f9fe2be commit d8bd3ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions VSoft.Messaging.dspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"id": "VSoft.Messaging",
"version": "0.3.1",
"version": "0.3.4",
"description": "VSoft.Messaging is a libary that provides an internal synchronous/asynchronous publish/subscribe messaging system for Delphi applications.",
"authors": "Vincent Parrett",
"projectUrl": "https://github.com/VSoftTechnologies/VSoft.SemanticVersion",
Expand Down Expand Up @@ -71,7 +71,7 @@
"template": "default"
},
{
"compiler": "11",
"compiler": "11.0",
"platforms": "Win32, Win64",
"template": "default"
}
Expand All @@ -82,7 +82,7 @@
"dependencies": [
{
"id": "VSoft.WeakReference",
"version": "[0.1.1,]"
"version": "[0.1.2,]"
}
],
"source": [
Expand Down
4 changes: 2 additions & 2 deletions src/VSoft.Messaging.Dispatchers.pas
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ function TMessageDispatcherBase.GetExcludeFilter: TArray<Cardinal>;
function TMessageDispatcherBase.GetIncludeFilter: TArray<Cardinal>;
begin
SetLength(result,0);
if FExcludeFilter <> nil then
result := FExcludeFilter.Keys.ToArray;
if FIncludeFilter <> nil then
result := FIncludeFilter.Keys.ToArray;
end;

function TMessageDispatcherBase.GetTarget: TObject;
Expand Down

0 comments on commit d8bd3ad

Please sign in to comment.