Skip to content

Commit

Permalink
deploy: 1176472
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 21, 2024
1 parent b7885ba commit 215ba38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ <h2 id="does-iced-redraw-all-the-time"><a class="header" href="#does-iced-redraw
this is rarely an issue for most use cases!</p>
<h2 id="i-am-getting-a-panic-saying-there-is-no-reactor-running-what-is-going-on"><a class="header" href="#i-am-getting-a-panic-saying-there-is-no-reactor-running-what-is-going-on">I Am Getting A Panic Saying There Is No Reactor Running. What Is Going On?</a></h2>
<p>You are probably using <code>Task</code> to execute a <code>Future</code> that needs the <code>tokio</code> executor:</p>
<pre><code>there is no reactor running, must be called from the context of a Tokio 1.x runtime
<pre><code class="language-text">there is no reactor running, must be called from the context of a Tokio 1.x runtime
</code></pre>
<p>You should be able to fix this issue by enabling <a href="https://docs.rs/crate/iced/latest/features#tokio">the <code>tokio</code> feature flag</a> in the <code>iced</code> crate:</p>
<pre><code class="language-toml">iced = { version = "0.13", features = ["tokio"] }
Expand Down
2 changes: 1 addition & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ <h2 id="does-iced-redraw-all-the-time"><a class="header" href="#does-iced-redraw
this is rarely an issue for most use cases!</p>
<h2 id="i-am-getting-a-panic-saying-there-is-no-reactor-running-what-is-going-on"><a class="header" href="#i-am-getting-a-panic-saying-there-is-no-reactor-running-what-is-going-on">I Am Getting A Panic Saying There Is No Reactor Running. What Is Going On?</a></h2>
<p>You are probably using <code>Task</code> to execute a <code>Future</code> that needs the <code>tokio</code> executor:</p>
<pre><code>there is no reactor running, must be called from the context of a Tokio 1.x runtime
<pre><code class="language-text">there is no reactor running, must be called from the context of a Tokio 1.x runtime
</code></pre>
<p>You should be able to fix this issue by enabling <a href="https://docs.rs/crate/iced/latest/features#tokio">the <code>tokio</code> feature flag</a> in the <code>iced</code> crate:</p>
<pre><code class="language-toml">iced = { version = "0.13", features = ["tokio"] }
Expand Down

0 comments on commit 215ba38

Please sign in to comment.