1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 06:14:10 +02:00

Changed ProgramStart/ProgramEnd to ensure StaticInits get called

This commit is contained in:
Brian Fiete 2019-10-17 05:31:57 -07:00
parent 07b993d824
commit 7882632e93
6 changed files with 19 additions and 19 deletions

View file

@ -498,12 +498,19 @@ namespace IDE
}
}
[StdCall,CLink]
static extern void IDEHelper_ProgramStart();
[StdCall,CLink]
static extern void IDEHelper_ProgramDone();
public this()
{
sApp = this;
gApp = this;
mMainThread = Thread.CurrentThread;
IDEHelper_ProgramStart();
#if !CLI
mDebugger = new DebugManager();
mVerb = .OpenOrNew;