This will simplify the object management model.
Created attachment 374658 [details] Patch
Created attachment 374663 [details] Patch
<rdar://problem/53451361>
Comment on attachment 374663 [details] Patch I like it.
I probably am missing some if(m_networkSession). @cgarcia, could you look whether some are missing in GTK code?
We need for sure a null check in the NetworkDataTask destructor, but I wonder if we need it everywhere m_session is used, or only in async completion handlers?
Created attachment 374810 [details] Patch
Created attachment 374811 [details] Patch
Comment on attachment 374811 [details] Patch Clearing flags on attachment: 374811 Committed r247831: <https://trac.webkit.org/changeset/247831>
All reviewed patches have been landed. Closing bug.
(In reply to WebKit Commit Bot from comment #9) > Comment on attachment 374811 [details] > Patch > > Clearing flags on attachment: 374811 > > Committed r247831: <https://trac.webkit.org/changeset/247831> Seems this broke GTK Debug build: https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20%28Build%29/builds/23203/steps/compile-webkit/logs/stdio
(In reply to Carlos Alberto Lopez Perez from comment #11) > (In reply to WebKit Commit Bot from comment #9) > > Comment on attachment 374811 [details] > > Patch > > > > Clearing flags on attachment: 374811 > > > > Committed r247831: <https://trac.webkit.org/changeset/247831> > > Seems this broke GTK Debug build: > > https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20%28Build%29/ > builds/23203/steps/compile-webkit/logs/stdio Fixed in r247856: <https://trac.webkit.org/changeset/247856>
Thanks!