<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>134699</bug_id>
          
          <creation_ts>2014-07-07 15:37:59 -0700</creation_ts>
          <short_desc>Nearly everything in the UIProcess &quot;leaks&quot; when WKWebView is torn down</short_desc>
          <delta_ts>2014-07-07 16:18:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>andersca</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>mitz</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1020937</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-07-07 15:37:59 -0700</bug_when>
    <thetext>WKWebView doesn&apos;t adopt its WKView, thus resulting in the WebPageProxy, WebProcessProxy, and other friends hanging around forever.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020938</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-07-07 15:38:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/17581777&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020939</commentid>
    <comment_count>2</comment_count>
      <attachid>234522</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-07-07 15:38:59 -0700</bug_when>
    <thetext>Created attachment 234522
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020940</commentid>
    <comment_count>3</comment_count>
      <attachid>234522</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-07-07 15:40:18 -0700</bug_when>
    <thetext>Comment on attachment 234522
patch

I wish we could make this not compile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020951</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2014-07-07 16:16:06 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; I wish we could make this not compile.

It’s called “ARC”.

Also, we could add check-webkit-style rules to catch this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020953</commentid>
    <comment_count>5</comment_count>
      <attachid>234522</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-07 16:18:45 -0700</bug_when>
    <thetext>Comment on attachment 234522
patch

Clearing flags on attachment: 234522

Committed r170859: &lt;http://trac.webkit.org/changeset/170859&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1020954</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-07 16:18:49 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>234522</attachid>
            <date>2014-07-07 15:38:59 -0700</date>
            <delta_ts>2014-07-07 16:18:45 -0700</delta_ts>
            <desc>patch</desc>
            <filename>adopt.diff</filename>
            <type>text/plain</type>
            <size>1425</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCA1MTYwNTNkLi5kZjE3NGNhIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTUg
QEAKKzIwMTQtMDctMDcgIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgTmVhcmx5IGV2ZXJ5dGhpbmcgaW4gdGhlIFVJUHJvY2VzcyAibGVha3MiIHdoZW4g
V0tXZWJWaWV3IGlzIHRvcm4gZG93bgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9z
aG93X2J1Zy5jZ2k/aWQ9MTM0Njk5CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS8xNzU4MTc3Nz4K
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFVJUHJv
Y2Vzcy9BUEkvQ29jb2EvV0tXZWJWaWV3Lm1tOgorICAgICAgICAoLVtXS1dlYlZpZXcgaW5pdFdp
dGhGcmFtZTpjb25maWd1cmF0aW9uOl0pOgorICAgICAgICBBZG9wdGlvbiBpcyBpbXBvcnRhbnQh
CisKIDIwMTQtMDctMDcgIEJyYWR5IEVpZHNvbiAgPGJlaWRzb25AYXBwbGUuY29tPgogCiAgICAg
ICAgIFNlcnZpY2VzT3ZlcmxheUNvbnRyb2xsZXIgbWVudXMgc2hvdyB1cCBpbiB0aGUgd3Jvbmcg
cGxhY2UuCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvQVBJL0NvY29hL1dL
V2ViVmlldy5tbSBiL1Nv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