This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ pub enum WaitReason {
162
162
// most normal termination waiting mode; couldn't be done implicitly inside Bank::freeze() -> () to return
163
163
// the result and timing in some way to higher-layer subsystems;
164
164
TerminatedToFreeze ,
165
+ // just behaves like TerminatedToFreeze but hint that this is called from Drop::drop().
165
166
DroppedFromBankForks ,
166
167
// scheduler is paused without being returned to pool in order to collect ResultWithTimings
167
168
// later.
@@ -395,7 +396,7 @@ impl BankWithSchedulerInner {
395
396
fn drop_scheduler ( & self ) {
396
397
if std:: thread:: panicking ( ) {
397
398
error ! (
398
- "BankWithSchedulerInner::drop (): slot: {} skipping due to already panicking..." ,
399
+ "BankWithSchedulerInner::drop_scheduler (): slot: {} skipping due to already panicking..." ,
399
400
self . bank. slot( ) ,
400
401
) ;
401
402
return ;
@@ -407,7 +408,7 @@ impl BankWithSchedulerInner {
407
408
. map ( |( result, _timings) | result)
408
409
{
409
410
warn ! (
410
- "BankWithSchedulerInner::drop (): slot: {} discarding error from scheduler: {:?}" ,
411
+ "BankWithSchedulerInner::drop_scheduler (): slot: {} discarding error from scheduler: {:?}" ,
411
412
self . bank. slot( ) ,
412
413
err,
413
414
) ;
You can’t perform that action at this time.
0 commit comments