mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge branch 'master' of github.com:ddnet/ddnet
This commit is contained in:
commit
daf1f3f382
|
@ -1,5 +1,6 @@
|
|||
#include "fifo.h"
|
||||
|
||||
#include <base/system.h>
|
||||
#if defined(CONF_FAMILY_UNIX)
|
||||
|
||||
#include <engine/shared/config.h>
|
||||
|
@ -48,7 +49,8 @@ void CFifo::Init(IConsole *pConsole, char *pFifoFile, int Flag)
|
|||
|
||||
void CFifo::Shutdown()
|
||||
{
|
||||
fclose(m_File);
|
||||
if(m_File)
|
||||
fclose(m_File);
|
||||
}
|
||||
|
||||
void CFifo::Update()
|
||||
|
|
Loading…
Reference in a new issue