1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 20:51:19 +01:00

Flush phar contents

This commit is contained in:
Daniil Gentili 2021-12-12 20:12:53 +01:00
parent bb9410a1b2
commit 4b459d083c

View File

@ -238,6 +238,7 @@ class Installer
self::$lock = \fopen($madeline_phar, 'w');
\flock(self::$lock, LOCK_EX);
\fwrite(self::$lock, $phar);
\fflush(self::$lock);
unset($phar);
self::reportComposer($local_release, $remote_release);