mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
fix: weird crash
This commit is contained in:
parent
9ca0c3c41d
commit
bd742689e9
1 changed files with 5 additions and 1 deletions
|
@ -97,7 +97,11 @@ void Email::setupContent() {
|
||||||
AddSkipInsteadOfField(content);
|
AddSkipInsteadOfField(content);
|
||||||
|
|
||||||
const auto send = [=](Fn<void()> close) {
|
const auto send = [=](Fn<void()> close) {
|
||||||
Expects(!_requestLifetime);
|
// AyuGram: idk weird crash
|
||||||
|
if (_requestLifetime) {
|
||||||
|
_requestLifetime.destroy();
|
||||||
|
}
|
||||||
|
// Expects(!_requestLifetime);
|
||||||
|
|
||||||
const auto data = stepData();
|
const auto data = stepData();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue