mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-21 03:19:31 +08:00
Merge pull request #4245 from justinmoon/flush
fallbackResponseWriter implement Flush()
This commit is contained in:
commit
2bfbe7f902
@ -124,6 +124,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fixed transparency issue for frameless windows by [@leaanthony](https://github.com/leaanthony) based on work by @kron.
|
||||
- Fixed focus calls when window is disabled or minimised by [@leaanthony](https://github.com/leaanthony) based on work by @kron.
|
||||
- Fixed system trays not showing after taskbar restarts by [@leaanthony](https://github.com/leaanthony) based on work by @kron.
|
||||
- Fixed fallbackResponseWriter not implementing Flush() in
|
||||
[#4245](https://github.com/wailsapp/wails/pull/4245)
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -71,3 +71,10 @@ func (fw *fallbackResponseWriter) WriteHeader(statusCode int) {
|
||||
|
||||
fw.rw.WriteHeader(statusCode)
|
||||
}
|
||||
|
||||
// Flush implements the http.Flusher interface.
|
||||
func (rw *fallbackResponseWriter) Flush() {
|
||||
if f, ok := rw.rw.(http.Flusher); ok {
|
||||
f.Flush()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user