mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Version 1.1.16: Add some debug info.
This commit is contained in:
@@ -690,7 +690,10 @@ void mtpFileLoader::partLoaded(int offset, base::const_byte_span bytes) {
|
||||
return cancel(true);
|
||||
}
|
||||
} else {
|
||||
SignalHandlers::setCrashAnnotation("DebugInfo", QString("offset: %1, size: %2").arg(offset).arg(bytes.size()));
|
||||
_data.reserve(offset + bytes.size());
|
||||
SignalHandlers::setCrashAnnotation("DebugInfo", QString());
|
||||
|
||||
if (offset > _data.size()) {
|
||||
_skippedBytes += offset - _data.size();
|
||||
_data.resize(offset);
|
||||
|
Reference in New Issue
Block a user