Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 676 Bytes

winrt-stream-adapters-no-long-call-flushasync-automatically-on-close.md

File metadata and controls

35 lines (23 loc) · 676 Bytes

WinRT stream adapters no long call FlushAsync automatically on close

Details

In Windows Store apps, Windows Runtime stream adapters no longer call the FlushAsync method from the Dispose method.

Suggestion

This change should be transparent. Developers can restore the previous behavior by writing code like this:

using (var stream = GetWindowsRuntimeStream() as Stream)
{
// do something
await stream.FlushAsync();
}
Name Value
Scope Transparent
Version 4.5.1
Type Runtime

Affected APIs

Not detectable via API analysis.