diff --git a/ext/crlib b/ext/crlib index 5225f85..f20b330 160000 --- a/ext/crlib +++ b/ext/crlib @@ -1 +1 @@ -Subproject commit 5225f857c44ced8e61e65b25892a0c8ab015250c +Subproject commit f20b3301c67b61f7dba30aa8b5de4e1a31d67f4b diff --git a/src/graph.cpp b/src/graph.cpp index 8131a4c..3a12807 100644 --- a/src/graph.cpp +++ b/src/graph.cpp @@ -1313,6 +1313,11 @@ void BotGraph::syncCollectOnline () { } String localFile = plat.tmpfname (); + // no temp file, no fun + if (localFile.empty ()) { + return; + } + // don't forget remove temporary file auto unlinkTemporary = [&] () { if (plat.fileExists (localFile.chars ())) {