From: Ketmar Dark Date: Fri, 8 Apr 2016 18:59:55 +0000 (+0300) Subject: sfs: hacked around segfault on exit X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=80d272f7000f269b007a393a5e4cc8c09178aa63;p=d2df-sdl.git sfs: hacked around segfault on exit --- diff --git a/src/sfs/sfsMemFS.pas b/src/sfs/sfsMemFS.pas index edf35c0..748dbc3 100644 --- a/src/sfs/sfsMemFS.pas +++ b/src/sfs/sfsMemFS.pas @@ -241,7 +241,7 @@ var initialization memf := TSFSMemoryVolumeFactory.Create(); SFSRegisterVolumeFactory(memf); -finalization - SFSUnregisterVolumeFactory(memf); +//finalization +// SFSUnregisterVolumeFactory(memf); {$ENDIF} end. diff --git a/src/sfs/sfsPlainFS.pas b/src/sfs/sfsPlainFS.pas index 81eb440..84409bd 100644 --- a/src/sfs/sfsPlainFS.pas +++ b/src/sfs/sfsPlainFS.pas @@ -754,6 +754,6 @@ var initialization pakf := TSFSPlainVolumeFactory.Create(); SFSRegisterVolumeFactory(pakf); -finalization - SFSUnregisterVolumeFactory(pakf); +//finalization +// SFSUnregisterVolumeFactory(pakf); end. diff --git a/src/sfs/sfsZipFS.pas b/src/sfs/sfsZipFS.pas index 4059f3e..ee1cc1c 100644 --- a/src/sfs/sfsZipFS.pas +++ b/src/sfs/sfsZipFS.pas @@ -618,6 +618,6 @@ var initialization zipf := TSFSZipVolumeFactory.Create(); SFSRegisterVolumeFactory(zipf); -finalization - SFSUnregisterVolumeFactory(zipf); +//finalization +// SFSUnregisterVolumeFactory(zipf); end.