mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix script caching with v8_89
This commit is contained in:
@ -98,12 +98,8 @@ namespace NSJSBase
|
||||
if (pCacheData)
|
||||
{
|
||||
// save cache to file
|
||||
NSFile::CFileBinary oFileTest;
|
||||
if (oFileTest.CreateFileW(Path))
|
||||
{
|
||||
oFileTest.WriteFile(pCacheData->data, (DWORD)pCacheData->length);
|
||||
oFileTest.CloseFile();
|
||||
}
|
||||
oFileTest.WriteFile(pCacheData->data, (DWORD)pCacheData->length);
|
||||
oFileTest.CloseFile();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user