| 16 | } |
| 17 | |
| 18 | sp<Stage> StageStack::pop() |
| 19 | { |
| 20 | sp<Stage> result = this->current(); |
| 21 | |
| 22 | if (result) |
| 23 | { |
| 24 | result->finish(); |
| 25 | Stack.pop_back(); |
| 26 | } |
| 27 | |
| 28 | // If there's still an item on the stack, resume it |
| 29 | if (this->current()) |
| 30 | this->current()->resume(); |
| 31 | |
| 32 | return result; |
| 33 | } |
| 34 | |
| 35 | sp<Stage> StageStack::current() |
| 36 | { |
no test coverage detected