aboutsummaryrefslogtreecommitdiff
path: root/docs/library/micropython.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-10-13 16:21:08 +1100
committerDamien George <damien.p.george@gmail.com>2018-10-13 16:21:08 +1100
commitf5d46a88aaea61f6c0248c0ac2c5583e7011d634 (patch)
treede0483fdafc1eca427b1fa5de42891c20835ac8d /docs/library/micropython.rst
parent7059b4af6d651a819daf8b6ea838ae82f62287f0 (diff)
lib/utils/pyexec: Forcefully unlock the heap if locked and REPL active.
Otherwise there is really nothing that can be done, it can't be unlocked by the user because there is no way to allocate memory to execute the unlock. See issue #4205 and #4209.
Diffstat (limited to 'docs/library/micropython.rst')
-rw-r--r--docs/library/micropython.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/library/micropython.rst b/docs/library/micropython.rst
index a6ea738ed..d9f913bff 100644
--- a/docs/library/micropython.rst
+++ b/docs/library/micropython.rst
@@ -90,6 +90,9 @@ Functions
in a row and the lock-depth will increase, and then `heap_unlock()` must be
called the same number of times to make the heap available again.
+ If the REPL becomes active with the heap locked then it will be forcefully
+ unlocked.
+
.. function:: kbd_intr(chr)
Set the character that will raise a `KeyboardInterrupt` exception. By