mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Don't call tox_do from FT functions
This commit is contained in:
parent
56edd76df9
commit
a75d1c5c6e
2
core.cpp
2
core.cpp
|
@ -1007,7 +1007,7 @@ void Core::sendAllFileData(Core *core, ToxFile* file)
|
|||
if (tox_file_send_data(core->tox, file->friendId, file->fileNum, data, readSize) == -1)
|
||||
{
|
||||
//qWarning("Core::fileHeartbeat: Error sending data chunk");
|
||||
core->process();
|
||||
//core->process();
|
||||
delete[] data;
|
||||
QThread::msleep(5);
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user