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:
parent
07b993d824
commit
7882632e93
6 changed files with 19 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue