Add note about not destroying an SSL stream while there are pending operations.

This commit is contained in:
Christopher Kohlhoff 2015-12-03 10:52:21 +11:00
parent 726fb27680
commit de40487bc7

View File

@ -111,6 +111,10 @@ public:
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
/// Destructor.
/**
* @note A @c stream object must not be destroyed while there are pending
* asynchronous operations associated with it.
*/
~stream()
{
}