title: How to close realm opened by Realm.getDefaultInstance?
body: <p>I am using realm to store and retrieve data. Usually when we open a realm to store some data we do like:</p>
  
  <pre><code>Realm realm = Realm.getDefaultInstance();
  realm.beginTransaction();
  // Copy the object to Realm
  realm.copyToRealm(myObject);
  realm.commitTransaction();
  realm.close();
  </code></pre>
  
  <p>in the above case I am closing the realm.</p>
  
  <p>But when I am retrieving some data like:</p>
  
  <pre><code>RealmResults&lt;MyClass&gt; results = Realm.getDefaultInstance().where(MyClass.class).findAll();
  </code></pre>
  
  <p>How do I close this realm? Does it need to be closed?</p>