<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taku-o</author_name>
  <author_url>https://blog.hatena.ne.jp/taku-o/</author_url>
  <blog_title>サイト更新停滞ちうっ</blog_title>
  <blog_url>https://taku-o.hatenablog.jp/</blog_url>
  <categories>
    <anon>Electron</anon>
    <anon>javascript</anon>
    <anon>mac</anon>
  </categories>
  <description>経緯 音声を操作するWeb Audio APIという、WebブラウザのAPIがあります。そのAPIの中の、OfflineAudioContextというオブジェクトを、MacのElectron製アプリで利用していたのですが、アプリを動作させながらアクティビティモニタを確認していたら、何かがおかしい。おかしい。 何故か、音声を再生するごとに、アプリが使用しているスレッドの数が増えていったのです。 ↓(何回か再生) ということがあり、これは困ったぞ、と、いろいろ調べてみたのでありました。 Electron 1.8.8 で検証 Electron バージョン 1.8.8。最初に問題を発見した環境。少し古…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaku-o.hatenablog.jp%2Fentry%2F20190118%2F1547825938&quot; title=&quot; Web Audio APIのOfflineAudioContextを使うたびに増えていく、スレッド数とメモリ使用量の調査 - サイト更新停滞ちうっ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/taku-o/20190119/20190119000732.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-18 00:38:58</published>
  <title> Web Audio APIのOfflineAudioContextを使うたびに増えていく、スレッド数とメモリ使用量の調査</title>
  <type>rich</type>
  <url>https://taku-o.hatenablog.jp/entry/20190118/1547825938</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
