Skip to content

Commit 7d07c86

Browse files
committed
Add multiprocessing freeze support to allow plugins to use multiprocessing.
1 parent 3dbab3f commit 7d07c86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mapclient/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
along with MAP Client. If not, see <http://www.gnu.org/licenses/>..
2020
"""
2121
import json
22+
import multiprocessing
2223
import os
2324
import shutil
2425
import sys
@@ -523,4 +524,5 @@ def main():
523524

524525

525526
if __name__ == '__main__':
527+
multiprocessing.freeze_support()
526528
main()

0 commit comments

Comments
 (0)