From 885de6efba7f35e2fafc0b91348655fa6f7286d0 Mon Sep 17 00:00:00 2001 From: Oleg Derevenetz Date: Fri, 3 Jan 2025 22:45:55 +0300 Subject: [PATCH] Add comment --- src/engine/serialize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/serialize.cpp b/src/engine/serialize.cpp index 8679caef49..e01fa529dc 100644 --- a/src/engine/serialize.cpp +++ b/src/engine/serialize.cpp @@ -632,6 +632,7 @@ int StreamFile::closeFile( std::FILE * f ) const int res = std::fclose( f ); #ifdef __EMSCRIPTEN__ + // The following code is not C++ code, but JavaScript code. // clang-format off EM_ASM( FS.syncfs( err => err && console.warn( "FS.syncfs() error:", err ) ) ); // clang-format on