mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-29 10:25:27 +08:00
This object shouldn't be destroyed as long as there are any wxWebRequests using it still alive, as destroying them after the session would result in a crash, so replace a (possibly dangling) reference to wxWebSessionImpl in wxWebRequestImpl with a shared pointer, which keeps it alive for as long as necessary. See #24969.
Tests
This directory contains tests for the library and is mostly useful for the
library developers. See the samples subdirectory for the examples that are
more useful to the application developers using the library.
If you do work on the library itself and would like to modify an existing or
add a new test, please see docs/contributing/how-to-write-unit-tests.md for
more information.
This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.