| Summary: | managers delete user actions in their destructors | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | jasondet |
| Component: | run | Assignee: | Makoto.Asai |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 7.1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
jasondet
2005-07-29 15:15:04 CEST
It is stated so in the users guide that deleting G4RunManager causes deletion of all user action classes. Also, I do not see any good reason to make a class derived from both RunAction and SteppingAction. If you have a class need to be invoked from both of these action classes, take one of two possible ways. 1) Add a method in your SteppingAction class which can be invoked from your RunAction class. 2) Create a class to be accessed from both of your RunAction and SteppingAction classes. I suggest you to avoid multiple-inheritance. |