Skip to content

Commit

Permalink
Clear the Ignores list so we save a tad on RAM.
Browse files Browse the repository at this point in the history
Changed CapsWatcherTests/properties.xml to be a Suite.
  • Loading branch information
xforever1313 committed Oct 9, 2017
1 parent 7defe62 commit cb16a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Chaskis/Plugins/CapsWatcher/CapsWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public void Init( PluginInitor initor )

this.config = XmlLoader.LoadCapsWatcherConfig( configPath );
this.ignoreRegex = new Regex( CollectionToRegex( config.Ignores ), RegexOptions.Compiled | RegexOptions.ExplicitCapture );
this.config.Ignores.Clear(); // No need to eat-up RAM, we won't need this again.

MessageHandler handler = new MessageHandler(
".+",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<RecentChanges/>
<Refactor/>
<Search/>
<Suite/>
<Versions/>
<WhereUsed/>
</properties>

0 comments on commit cb16a91

Please sign in to comment.