# cbe: fix crash on error · gitcafe/zig

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

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

Visibility: public

Requested revision: a9b37ac63724a79805f00b4e6966ebb8329151a2

Requested commit: a9b37ac63724a79805f00b4e6966ebb8329151a2

Commit: a9b37ac63724a79805f00b4e6966ebb8329151a2

Tree: 886d9da532f7fbf02001858ed8c9cc4cad9dc1d8

Author: Jacob Young

Committer: Jacob Young

## Message

```
cbe: fix crash on error

This hashmap value used to be assigned much later during `flushModule`,
which never happens if an error is returned by the backend, and
attempting to the undefined values would cause a crash.

```

## Parents

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

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