You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func1(){
A ctor
B ctor
B move
B dtor
C ctor
B dtor
C move
C dtor
func1: C created
}
{
C dtor
A dtor
}
Class1(){
A ctor
B ctor
B move
B dtor
C ctor
B dtor
C move
C dtor
Class1: C created
}
C dtor
Class1: ~Class1(){
//Why A is not destructured here?
}
//The end of main
A dtor
Specifications
Version: 1.2.0
Platform: Windows 10 x64
Subsystem: MSVC 19.29 x64
The text was updated successfully, but these errors were encountered:
Expected Behavior
When the object where the injector resides is destroyed, the objects created in shared scope by the injector should also be destroyed.
Actual Behavior
Objects in shared scope are not destroyed on destructuring, but only at the end of the process.
Steps to Reproduce the Problem
Output:
Specifications
The text was updated successfully, but these errors were encountered: