Skip to content

Commit 4a77d41

Browse files
committed
I messed this up bad...
1 parent a0449ad commit 4a77d41

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

ClientSource/Connection/BotBase.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,7 @@ BotBaseContext::BotBaseContext(CancellableScope& parent, BotBaseContext& context
2828
attach(parent);
2929
}
3030
BotBaseContext::~BotBaseContext(){
31-
m_lifetime_sanitizer.check_usage();
3231
detach();
33-
try{
34-
m_botbase.wait_for_all_requests(this);
35-
}catch (...){
36-
// cout << "canceled with exception: " << this << endl;
37-
CancellableScope* parent = scope();
38-
if (parent){
39-
parent->cancel(std::current_exception());
40-
}
41-
}
4232
}
4333

4434
void BotBaseContext::wait_for_all_requests() const{

SerialPrograms/Source/CommonFramework/InferenceInfra/InferenceRoutines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int run_until(
8181
if (command){
8282
command(subcontext);
8383
}
84-
// subcontext.wait_for_all_requests();
84+
subcontext.wait_for_all_requests();
8585
},
8686
callbacks,
8787
default_video_period,

0 commit comments

Comments
 (0)