Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Data/Tracker/BaseTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Newtonsoft.Json;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using MongoDB.Bson.Serialization.Options;
using MongoDB.Bson.Serialization.Attributes;
using System.ServiceModel.Syndication;
Expand All @@ -24,7 +23,6 @@ public abstract class BaseTracker : IDisposable
public enum TrackerType { TikTok, Twitch, TwitchGroup, TwitchClip, Twitter, Youtube, YoutubeLive, Reddit, Steam, Osu, Overwatch, OSRS, JSON, HTML, RSS };
public static List<TrackerType> CapSensitive = new List<TrackerType>{TrackerType.HTML, TrackerType.Reddit, TrackerType.JSON, TrackerType.Overwatch, TrackerType.RSS, TrackerType.Youtube, TrackerType.YoutubeLive};
private bool disposed = false;
private SafeHandle handle = new SafeFileHandle(IntPtr.Zero, true);
//protected System.Threading.Timer checkForChange;
public event MainEventHandler OnMajorEventFired;
public event MinorEventHandler OnMinorEventFired;
Expand Down Expand Up @@ -165,11 +163,10 @@ protected virtual void Dispose(bool disposing)
if (disposed)
return;

if (disposing)
/*if (disposing)
{
handle.Dispose();
//checkForChange.Dispose();
}
checkForChange.Dispose();
}*/

disposed = true;
}
Expand Down