-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client): Make flush() call clear() and deprecate it #10242
Conversation
This is a compromise for issues caused by #9453
👋 Hello me-no-dev, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files - 83 56 suites - 83 4m 53s ⏱️ - 1h 38m 16s Results for commit 9cb5dd5. ± Comparison against base commit cd3d0bf. This pull request removes 9 tests.
♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
but there are multiplatform libraries which invoke |
@JAndrassy Ten times better than your code breaking change!! Still there is the possibility to revert the unneeded PR completely. |
@Jason2866 loosing RX data is not good. |
if those libs worked on ESP32, then they would expect to really |
@me-no-dev multiplatform libraries which don't care about the specific platform and just are at risk not working correctly on the esp32 platform. for example some library which prints to a provided Print pointer |
This deprecated warning is only shown when calling this virtual function if it is an instance of these 2 classes right? Would it be better to suggest to check if change to
The alternative is what we're dealing with now, that existing ESP32 code is no longer working. |
@JAndrassy you need to be able to accept some compromise. Breaking ESP specific libs is also not a good thing. This is such compromise that will allow libs to move to clear and in the future have your way. |
This is a compromise for issues caused by #9453
Example output: