Remove AppContext, store profile related data in ProfileActivityService

This commit is contained in:
Archangel
2025-05-30 19:36:23 +02:00
parent 57c1935db6
commit 4e3c755e90
20 changed files with 108 additions and 214 deletions
-6
View File
@@ -3,9 +3,6 @@ using System.Runtime.InteropServices;
using SPTarkov.Common.Semver;
using SPTarkov.Common.Semver.Implementations;
using SPTarkov.DI;
using SPTarkov.Server.Core.Context;
using SPTarkov.Server.Core.Helpers;
using SPTarkov.Server.Core.Models.External;
using SPTarkov.Server.Core.Models.Spt.Mod;
using SPTarkov.Server.Core.Models.Utils;
using SPTarkov.Server.Core.Servers;
@@ -52,9 +49,6 @@ public static class Program
{
SetConsoleOutputMode();
var appContext = serviceProvider.GetService<ApplicationContext>();
appContext?.AddValue(ContextVariableType.SERVICE_PROVIDER, serviceProvider);
// Get the Built app and run it
var app = serviceProvider.GetService<App>();