mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
add fclose
This commit is contained in:
parent
38eeec39b4
commit
6c1d02a425
@ -106,6 +106,7 @@ void TConfig::FlushToFile() {
|
||||
if (N != Str.size()) {
|
||||
beammp_error("Failed to write to config file properly, config file might be misshapen");
|
||||
}
|
||||
std::fclose(File);
|
||||
}
|
||||
|
||||
void TConfig::CreateConfigFile(std::string_view name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user