Skip to content

Commit d12974b

Browse files
committed
exit method bugfix
1 parent 173e05f commit d12974b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- `Fixed` for any bug fixes.
1313
- `Security` in case of vulnerabilities
1414

15+
## [1.2.1] - 2021.02.28
16+
17+
### Fixed
18+
19+
- Fixed bug in `send` method where unnecessary `exit()` was causing destructors not to be called.
20+
1521
## [1.2.0] - 2020.11.27
1622

1723
### Added

src/Response.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@ public function send(): void
323323

324324
$this->reset();
325325

326-
exit; // Ensure nothing else loads, just to be safe
327-
328326
}
329327

330328
/**

0 commit comments

Comments
 (0)