# FailingAllocator: Only capture the stack trace of the first induced allocation failure · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/19d7f4dd8221fcd36b7fb71067bf676bb294ca1c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 19d7f4dd8221fcd36b7fb71067bf676bb294ca1c

Requested commit: 19d7f4dd8221fcd36b7fb71067bf676bb294ca1c

Commit: 19d7f4dd8221fcd36b7fb71067bf676bb294ca1c

Tree: e469751ee0dd7bd3671c0f22fce96a66692f2dad

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
FailingAllocator: Only capture the stack trace of the first induced allocation failure

This is a precaution to avoid confusing stack traces on the off chance that FailingAllocator continues to try to allocate after the first failure.

```

## Parents

- [c321b2f2a0257fa45262f1ece0a263b22e8c70f3](https://git.cafe/gitcafe/zig/commit/c321b2f2a0257fa45262f1ece0a263b22e8c70f3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/19d7f4dd8221fcd36b7fb71067bf676bb294ca1c?format=markdown)
