Skip to content

Commit bda7b26

Browse files
committed
Don't clean up config in mono bootstrap
The options are used by other hooks. Moreover, the allocated data is for now fairly small so there is no need to deallocate it.
1 parent f67e02a commit bda7b26

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bootstrap.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
void mono_doorstop_bootstrap(void *mono_domain) {
1212
if (getenv(TEXT("DOORSTOP_INITIALIZED"))) {
1313
LOG("DOORSTOP_INITIALIZED is set! Skipping!");
14-
cleanup_config();
1514
return;
1615
}
1716
setenv(TEXT("DOORSTOP_INITIALIZED"), TEXT("TRUE"), TRUE);
@@ -120,7 +119,6 @@ void mono_doorstop_bootstrap(void *mono_domain) {
120119
LOG("Done");
121120

122121
free(app_path);
123-
cleanup_config();
124122
}
125123

126124
void *init_mono(const char *root_domain_name, const char *runtime_version) {

0 commit comments

Comments
 (0)