Skip to content

Commit

Permalink
Fix missing application setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Sep 1, 2024
1 parent 6c703f6 commit 0a4cf82
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public abstract class ExternalDBApplication : IExternalDBApplication
public ExternalDBApplicationResult OnStartup(ControlledApplication application)
{
var currentType = GetType();

#if NETCOREAPP
if (!AddinLoadContext.CheckAccess(currentType))
{
Expand All @@ -45,6 +45,8 @@ public ExternalDBApplicationResult OnStartup(ControlledApplication application)
}
#endif

Application = application;

#if NETCOREAPP
OnStartup();
#else
Expand Down

0 comments on commit 0a4cf82

Please sign in to comment.