forked from Aircoookie/ESPAsyncWebServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AsyncWebSocket: Use shared_ptr for buffers
Replace the hand-rolled buffer management logic with std::shared_ptr and a basic RAII buffer class. This simplifies memory management and seems to fix a memory leak.
- Loading branch information
1 parent
bb1982a
commit 9311a64
Showing
6 changed files
with
192 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.